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

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 240173003: Roll Skia to r14226. (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 | « DEPS ('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
===================================================================
--- skia/ext/pixel_ref_utils_unittest.cc (revision 264246)
+++ skia/ext/pixel_ref_utils_unittest.cc (working copy)
@@ -51,7 +51,16 @@
}
// Pure virtual implementaiton.
- virtual void shadeSpan(int x, int y, SkPMColor[], int count) OVERRIDE {}
+ virtual SkShader::Context* createContext(const SkBitmap& device,
+ const SkPaint& paint,
+ const SkMatrix& matrix,
+ void* storage) const OVERRIDE {
+ return NULL;
+ };
+ virtual size_t contextSize() const OVERRIDE {
+ return sizeof(SkShader::Context);
+ }
+
SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(TestDiscardableShader);
private:
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698