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

Unified Diff: third_party/WebKit/Source/platform/testing/PictureMatchers.h

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 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
Index: third_party/WebKit/Source/platform/testing/PictureMatchers.h
diff --git a/third_party/WebKit/Source/platform/testing/PictureMatchers.h b/third_party/WebKit/Source/platform/testing/PictureMatchers.h
index 01368f213e4fbadfb4a62eea47368736feeb1219..9d7a6b210d1f81daea3a4225f3ddb2b5a9ed920c 100644
--- a/third_party/WebKit/Source/platform/testing/PictureMatchers.h
+++ b/third_party/WebKit/Source/platform/testing/PictureMatchers.h
@@ -6,10 +6,9 @@
#define PictureMatchers_h
#include "platform/graphics/Color.h"
+#include "skia/ext/cdl_common.h"
#include "testing/gmock/include/gmock/gmock.h"
-class SkPicture;
-
namespace blink {
class FloatRect;
@@ -17,7 +16,7 @@ class FloatRect;
// Matches if the picture draws exactly one rectangle, which (after accounting
// for the total transformation matrix) matches the rect provided, and whose
// paint has the color requested.
-::testing::Matcher<const SkPicture&> drawsRectangle(const FloatRect&, Color);
+::testing::Matcher<const CdlPicture&> drawsRectangle(const FloatRect&, Color);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698