Qualify local constant strings with static, and remove unused strings.

Change-Id: Icd317eb1b260e9640473e8a201a204a6e49bc002
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/287916
Auto-Submit: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
This commit is contained in:
John Stiles 2020-05-05 16:05:47 -04:00 committed by Skia Commit-Bot
parent c1ad77cf48
commit 31964fd155

View File

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