| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 2b11d48670b148fad2330a31a67ba95c030d952d..3e727a9fa52cdbbc5555336d773a389605033895 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -151,7 +151,8 @@ static bool contentLayerSupportsDirectBackgroundComposition(
|
| static WebLayer* platformLayerForPlugin(LayoutObject& layoutObject) {
|
| if (!layoutObject.isEmbeddedObject())
|
| return nullptr;
|
| - FrameViewBase* frameViewBase = toLayoutEmbeddedObject(layoutObject).widget();
|
| + FrameViewBase* frameViewBase =
|
| + toLayoutEmbeddedObject(layoutObject).frameViewBase();
|
| if (!frameViewBase || !frameViewBase->isPluginView())
|
| return nullptr;
|
| return toPluginView(frameViewBase)->platformLayer();
|
|
|