Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 825513002: Standardize usage of virtual/override/final specifiers in skia/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/bitmap_platform_device_cairo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/pixel_ref_utils_unittest.cc
diff --git a/skia/ext/pixel_ref_utils_unittest.cc b/skia/ext/pixel_ref_utils_unittest.cc
index 08e5d3e0184b645d3efba12ca36b585981c1ddd5..414a3ce76b2306cf728efcc13a3b0dcaff578f55 100644
--- a/skia/ext/pixel_ref_utils_unittest.cc
+++ b/skia/ext/pixel_ref_utils_unittest.cc
@@ -47,7 +47,15 @@ class TestDiscardableShader : public SkShader {
void flatten(SkWriteBuffer&) const override {}
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(TestDiscardableShader);
+ // Manual expansion of SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS to
dcheng 2014/12/22 22:13:52 The last time I talked to reed@ about fixing the m
Nico 2014/12/22 22:26:55 Could the fixme not fire if it comes from a macro
+ // satisfy Chrome's style checker, since Skia isn't ready to make the C++11
+ // leap yet.
+ private:
+ static SkFlattenable* CreateProc(SkReadBuffer&);
+ friend class SkPrivateEffectInitializer;
+
+ public:
+ Factory getFactory() const override { return CreateProc; }
private:
SkBitmap bitmap_;
« no previous file with comments | « skia/ext/bitmap_platform_device_cairo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698