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 724208bd954bec602346ec3b68b45e85eb157156..6b34991a8eb68a27cb479d77672bbca1d72c10ea 100644 |
--- a/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp |
@@ -562,9 +562,9 @@ SkSurface* Canvas2DLayerBridge::getOrCreateSurface(AccelerationHint hint) { |
} |
if (m_surface && surfaceIsAccelerated && !m_layer) { |
- m_layer = wrapUnique( |
+ m_layer = |
Platform::current()->compositorSupport()->createExternalTextureLayer( |
- this)); |
+ this); |
jbroman
2016/10/12 22:18:40
nit: this wrapping is kinda gross. I guess clang-f
dcheng
2016/10/12 22:27:03
I don't know the specifics, but I'm guessing clang
|
m_layer->setOpaque(m_opacityMode == Opaque); |
m_layer->setBlendBackgroundColor(m_opacityMode != Opaque); |
GraphicsLayer::registerContentsLayer(m_layer->layer()); |