| 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 58267947179cd1e34f834c772161d74313ca677a..2e978a7fcba3a81ef70845a6b203d8cdcfbec9c0 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| @@ -67,15 +67,15 @@ CanvasSurfaceLayerBridge::CanvasSurfaceLayerBridge(
|
| new OffscreenCanvasSurfaceReferenceFactory(m_weakFactory.GetWeakPtr());
|
|
|
| DCHECK(!m_service.is_bound());
|
| - mojom::blink::OffscreenCanvasSurfaceFactoryPtr serviceFactory;
|
| + mojom::blink::OffscreenCanvasProviderPtr provider;
|
| Platform::current()->interfaceProvider()->getInterface(
|
| - mojo::MakeRequest(&serviceFactory));
|
| + mojo::MakeRequest(&provider));
|
| // TODO(xlai): Ensure OffscreenCanvas commit() is still functional when a
|
| // frame-less HTML canvas's document is reparenting under another frame.
|
| // See crbug.com/683172.
|
| - serviceFactory->CreateOffscreenCanvasSurface(
|
| - m_parentFrameSinkId, m_frameSinkId, m_binding.CreateInterfacePtrAndBind(),
|
| - mojo::MakeRequest(&m_service));
|
| + provider->CreateOffscreenCanvasSurface(m_parentFrameSinkId, m_frameSinkId,
|
| + m_binding.CreateInterfacePtrAndBind(),
|
| + mojo::MakeRequest(&m_service));
|
| }
|
|
|
| CanvasSurfaceLayerBridge::~CanvasSurfaceLayerBridge() {
|
|
|