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 8630a777c5ff9b0a4e90c96579921affe440a679..02c63f865374ab1faae6fc7074fc11be8e81bad9 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(weak_factory_.GetWeakPtr()); |
DCHECK(!service_.is_bound()); |
- mojom::blink::OffscreenCanvasSurfaceFactoryPtr service_factory; |
+ mojom::blink::OffscreenCanvasProviderPtr provider; |
Platform::Current()->GetInterfaceProvider()->GetInterface( |
- mojo::MakeRequest(&service_factory)); |
+ 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. |
- service_factory->CreateOffscreenCanvasSurface( |
- parent_frame_sink_id_, frame_sink_id_, |
- binding_.CreateInterfacePtrAndBind(), mojo::MakeRequest(&service_)); |
+ provider->CreateOffscreenCanvasSurface(parent_frame_sink_id_, frame_sink_id_, |
+ binding_.CreateInterfacePtrAndBind(), |
+ mojo::MakeRequest(&service_)); |
} |
CanvasSurfaceLayerBridge::~CanvasSurfaceLayerBridge() { |