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/Canvas2DLayerBridge.cpp

Issue 2752593002: cc: Make PaintCanvas abstract (Closed)
Patch Set: Separate files 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 046285877acd3f62b1631beea4860604e17d88e6..18e4d03c7fb8410901ab413d3fe35850b882d678 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