| 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 961d72829ed9aff481ceb4b2000ce1f2b55a6443..24c0ae0b3d88eafb0b4cb7f0f8ae844faa3a0c83 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp
|
| @@ -101,6 +101,7 @@ void CanvasSurfaceLayerBridge::OnSurfaceCreated(
|
| scoped_refptr<cc::SurfaceLayer> surface_layer =
|
| cc::SurfaceLayer::Create(ref_factory_);
|
| surface_layer->SetPrimarySurfaceInfo(surface_info);
|
| + surface_layer->SetFallbackSurfaceInfo(surface_info);
|
| surface_layer->SetStretchContentToFillBounds(true);
|
| cc_layer_ = surface_layer;
|
|
|
| @@ -115,6 +116,7 @@ void CanvasSurfaceLayerBridge::OnSurfaceCreated(
|
| cc::SurfaceLayer* surface_layer =
|
| static_cast<cc::SurfaceLayer*>(cc_layer_.get());
|
| surface_layer->SetPrimarySurfaceInfo(surface_info);
|
| + surface_layer->SetFallbackSurfaceInfo(surface_info);
|
| }
|
|
|
| observer_->OnWebLayerReplaced();
|
|
|