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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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
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 3f400a9eedd0c8a8468838a348df01f62358f5f8..8756a912c90f2ba2e999147b41b1ccf203d516a4 100644
--- a/third_party/WebKit/Source/platform/testing/PictureMatchers.h
+++ b/third_party/WebKit/Source/platform/testing/PictureMatchers.h
@@ -7,10 +7,9 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/Color.h"
+#include "platform/graphics/paint/PaintRecord.h"
#include "testing/gmock/include/gmock/gmock.h"
-class SkPicture;
-
namespace blink {
class FloatRect;
@@ -21,7 +20,7 @@ class FloatRect;
// requested.
// Note that clips which appear outside of a transform are not currently
// supported.
-::testing::Matcher<const SkPicture&> drawsRectangle(const FloatRect&, Color);
+::testing::Matcher<const PaintRecord&> drawsRectangle(const FloatRect&, Color);
struct RectWithColor {
RectWithColor(const FloatRect& rectArg, const Color& colorArg)
@@ -32,7 +31,7 @@ struct RectWithColor {
// Same as above, but matches a number of rectangles equal to the size of the
// given vector.
-::testing::Matcher<const SkPicture&> drawsRectangles(
+::testing::Matcher<const PaintRecord&> drawsRectangles(
const Vector<RectWithColor>&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698