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

Unified Diff: third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp

Issue 2752593002: cc: Make PaintCanvas abstract (Closed)
Patch Set: Remove default parameters on virtual functions Created 3 years, 9 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/graphics/GraphicsContextTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
index e7c5640a8f69c74807d3df6b3f9012269f9564f9..b67fad7ff0dd84e6754f9dea1ba054282a7113fb 100644
--- a/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/GraphicsContextTest.cpp
@@ -71,7 +71,7 @@ TEST(GraphicsContextTest, Recording) {
SkBitmap bitmap;
bitmap.allocN32Pixels(100, 100);
bitmap.eraseColor(0);
- PaintCanvas canvas(bitmap);
+ SkiaPaintCanvas canvas(bitmap);
std::unique_ptr<PaintController> paintController = PaintController::create();
GraphicsContext context(*paintController);
@@ -100,7 +100,7 @@ TEST(GraphicsContextTest, UnboundedDrawsAreClipped) {
SkBitmap bitmap;
bitmap.allocN32Pixels(400, 400);
bitmap.eraseColor(0);
- PaintCanvas canvas(bitmap);
+ SkiaPaintCanvas canvas(bitmap);
Color opaque(1.0f, 0.0f, 0.0f, 1.0f);
Color alpha(0.0f, 0.0f, 0.0f, 0.0f);

Powered by Google App Engine
This is Rietveld 408576698