diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp index 11667798b9..ee5dbaf594 100644 --- a/tools/viewer/Viewer.cpp +++ b/tools/viewer/Viewer.cpp @@ -241,19 +241,17 @@ class NullSlide : public Slide { } }; -const char* kName = "name"; -const char* kValue = "value"; -const char* kOptions = "options"; -const char* kSlideStateName = "Slide"; -const char* kBackendStateName = "Backend"; -const char* kMSAAStateName = "MSAA"; -const char* kPathRendererStateName = "Path renderer"; -const char* kSoftkeyStateName = "Softkey"; -const char* kSoftkeyHint = "Please select a softkey"; -const char* kFpsStateName = "FPS"; -const char* kON = "ON"; -const char* kOFF = "OFF"; -const char* kRefreshStateName = "Refresh"; +static const char kName[] = "name"; +static const char kValue[] = "value"; +static const char kOptions[] = "options"; +static const char kSlideStateName[] = "Slide"; +static const char kBackendStateName[] = "Backend"; +static const char kMSAAStateName[] = "MSAA"; +static const char kPathRendererStateName[] = "Path renderer"; +static const char kSoftkeyStateName[] = "Softkey"; +static const char kSoftkeyHint[] = "Please select a softkey"; +static const char kON[] = "ON"; +static const char kRefreshStateName[] = "Refresh"; extern bool gUseSkVMBlitter; extern bool gSkVMJITViaDylib;