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

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 264463003: remove unnessary overrides, as base class now does this for shaders (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 months 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 | « no previous file | 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 ab8f7b0801583433e9d60d9f9821b0860b5b6cb3..237bc60e37a46dafc28d8875ce5ac4ebf715564d 100644
--- a/skia/ext/pixel_ref_utils_unittest.cc
+++ b/skia/ext/pixel_ref_utils_unittest.cc
@@ -51,13 +51,7 @@ class TestDiscardableShader : public SkShader {
return SkShader::kDefault_BitmapType;
}
- // Pure virtual implementaiton.
- virtual SkShader::Context* createContext(const SkBitmap& device,
- const SkPaint& paint,
- const SkMatrix& matrix,
- void* storage) const OVERRIDE {
- return NULL;
- };
+ // not indended to return an actual context. Just need to supply this.
virtual size_t contextSize() const OVERRIDE {
return sizeof(SkShader::Context);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698