| Index: third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| index b6c16fc124d9ec15f7a44ac692d510a272ab9c43..58267947179cd1e34f834c772161d74313ca677a 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| @@ -92,7 +92,7 @@ void CanvasSurfaceLayerBridge::createSolidColorLayer() {
|
|
|
| void CanvasSurfaceLayerBridge::OnSurfaceCreated(
|
| const cc::SurfaceInfo& surfaceInfo) {
|
| - if (!m_currentSurfaceId.is_valid() && surfaceInfo.id().is_valid()) {
|
| + if (!m_currentSurfaceId.is_valid() && surfaceInfo.is_valid()) {
|
| // First time a SurfaceId is received
|
| m_currentSurfaceId = surfaceInfo.id();
|
| GraphicsLayer::unregisterContentsLayer(m_webLayer.get());
|
|
|