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

Unified Diff: skia/ext/pixel_ref_utils_unittest.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.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/image_operations_unittest.cc ('k') | skia/ext/platform_canvas_unittest.cc » ('j') | 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 656ef5ce89248a593ccbf0acbcd08c33823f44bd..08e5d3e0184b645d3efba12ca36b585981c1ddd5 100644
--- a/skia/ext/pixel_ref_utils_unittest.cc
+++ b/skia/ext/pixel_ref_utils_unittest.cc
@@ -53,11 +53,9 @@ class TestDiscardableShader : public SkShader {
SkBitmap bitmap_;
};
-#ifdef SK_SUPPORT_LEGACY_DEEPFLATTENING
SkFlattenable* TestDiscardableShader::CreateProc(SkReadBuffer&) {
return new TestDiscardableShader;
}
-#endif
void CreateBitmap(gfx::Size size, const char* uri, SkBitmap* bitmap) {
bitmap->allocN32Pixels(size.width(), size.height());
« no previous file with comments | « skia/ext/image_operations_unittest.cc ('k') | skia/ext/platform_canvas_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698