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

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 249563002: Roll Skia DEPS to 14324 from 14292 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add patch for https://codereview.chromium.org/207683004 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 | « skia/ext/benchmarking_canvas.cc ('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 4d4ffbea57344558693379161160f1e236ed5364..8ff327249b05424250810919ecda75b9480a471b 100644
--- a/skia/ext/pixel_ref_utils_unittest.cc
+++ b/skia/ext/pixel_ref_utils_unittest.cc
@@ -51,7 +51,16 @@ class TestDiscardableShader : public SkShader {
}
// 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 | « skia/ext/benchmarking_canvas.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698