| 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 4355caed2a27dd712a886705e5bd9e97539d3cf5..8faf2a5adf8874993789fe7ecdbee3a1610e8e57 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| @@ -23,9 +23,10 @@ CanvasSurfaceLayerBridge::CanvasSurfaceLayerBridge(
|
|
|
| CanvasSurfaceLayerBridge::~CanvasSurfaceLayerBridge() {}
|
|
|
| -bool CanvasSurfaceLayerBridge::createSurfaceLayer(int canvasWidth,
|
| +bool CanvasSurfaceLayerBridge::createSurfaceLayer(int canvasId,
|
| + int canvasWidth,
|
| int canvasHeight) {
|
| - if (!m_service->GetSurfaceId(&m_surfaceId))
|
| + if (!m_service->GetSurfaceId(canvasId, &m_surfaceId))
|
| return false;
|
|
|
| cc::SurfaceLayer::SatisfyCallback satisfyCallback =
|
|
|