diff options
author | mtklein <mtklein@chromium.org> | 2015-01-09 10:06:39 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-09 10:06:40 -0800 |
commit | 72c9faab45124e08c85f70ca38536914862d947c (patch) | |
tree | 611893b84bb33b1592d058ee0f2382f7f86601b8 /tools/skpdiff | |
parent | 4490da227f1475fb66af20532c14d6d9febd18b6 (diff) |
Fix up all the easy virtual ... SK_OVERRIDE cases.
This fixes every case where virtual and SK_OVERRIDE were on the same line,
which should be the bulk of cases. We'll have to manually clean up the rest
over time unless I level up in regexes.
for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end
BUG=skia:
Review URL: https://codereview.chromium.org/806653007
Diffstat (limited to 'tools/skpdiff')
-rw-r--r-- | tools/skpdiff/SkCLImageDiffer.h | 2 | ||||
-rw-r--r-- | tools/skpdiff/SkDiffContext.cpp | 2 | ||||
-rw-r--r-- | tools/skpdiff/SkDifferentPixelsMetric.h | 4 | ||||
-rw-r--r-- | tools/skpdiff/SkPMetric.h | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/tools/skpdiff/SkCLImageDiffer.h b/tools/skpdiff/SkCLImageDiffer.h index 56eccfbbc9..177940d977 100644 --- a/tools/skpdiff/SkCLImageDiffer.h +++ b/tools/skpdiff/SkCLImageDiffer.h @@ -26,7 +26,7 @@ class SkCLImageDiffer : public SkImageDiffer { public: SkCLImageDiffer(); - virtual bool requiresOpenCL() const SK_OVERRIDE { return true; } + bool requiresOpenCL() const SK_OVERRIDE { return true; } /** * Initializes the OpenCL resources this differ needs to work diff --git a/tools/skpdiff/SkDiffContext.cpp b/tools/skpdiff/SkDiffContext.cpp index 32688f5013..c072c27955 100644 --- a/tools/skpdiff/SkDiffContext.cpp +++ b/tools/skpdiff/SkDiffContext.cpp @@ -219,7 +219,7 @@ public: fTestPath = testPath; } - virtual void run() SK_OVERRIDE { + void run() SK_OVERRIDE { fDiffContext->addDiff(fBaselinePath.c_str(), fTestPath.c_str()); } diff --git a/tools/skpdiff/SkDifferentPixelsMetric.h b/tools/skpdiff/SkDifferentPixelsMetric.h index 9302d9e067..0ef7337b5d 100644 --- a/tools/skpdiff/SkDifferentPixelsMetric.h +++ b/tools/skpdiff/SkDifferentPixelsMetric.h @@ -27,14 +27,14 @@ class SkDifferentPixelsMetric : public SkImageDiffer { #endif public: - virtual const char* getName() const SK_OVERRIDE; + const char* getName() const SK_OVERRIDE; virtual bool diff(SkBitmap* baseline, SkBitmap* test, const BitmapsToCreate& bitmapsToCreate, Result* result) const SK_OVERRIDE; protected: #if SK_SUPPORT_OPENCL - virtual bool onInit() SK_OVERRIDE; + bool onInit() SK_OVERRIDE; #endif private: diff --git a/tools/skpdiff/SkPMetric.h b/tools/skpdiff/SkPMetric.h index 00a3d7ae6b..8f7aa6a05b 100644 --- a/tools/skpdiff/SkPMetric.h +++ b/tools/skpdiff/SkPMetric.h @@ -18,7 +18,7 @@ */ class SkPMetric : public SkImageDiffer { public: - virtual const char* getName() const SK_OVERRIDE { return "perceptual"; } + const char* getName() const SK_OVERRIDE { return "perceptual"; } virtual bool diff(SkBitmap* baseline, SkBitmap* test, const BitmapsToCreate& bitmapsToCreate, Result* result) const SK_OVERRIDE; |