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

Unified Diff: third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.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/Canvas2DLayerBridge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
index 1e530caec900cc467f2c7bcfabab52d05dc0a05f..e9f345302ffcbc08f4782bcfd162fef40bfdb6fe 100644
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp
@@ -569,7 +569,7 @@ SkSurface* Canvas2DLayerBridge::getOrCreateSurface(AccelerationHint hint) {
m_msaaSampleCount, m_opacityMode, skSurfaceColorSpace(), m_colorType,
&surfaceIsAccelerated);
m_surfacePaintCanvas =
- WTF::wrapUnique(new PaintCanvas(m_surface->getCanvas()));
+ WTF::wrapUnique(new SkiaPaintCanvas(m_surface->getCanvas()));
if (m_surface) {
// Always save an initial frame, to support resetting the top level matrix

Powered by Google App Engine
This is Rietveld 408576698