| Index: Source/web/FrameLoaderClientImpl.cpp
|
| diff --git a/Source/web/FrameLoaderClientImpl.cpp b/Source/web/FrameLoaderClientImpl.cpp
|
| index 7aeb684abce254dfd87856cdadfe377f3e6c90c3..c52ce03ef04b5242302bd071074142007ed2dc0e 100644
|
| --- a/Source/web/FrameLoaderClientImpl.cpp
|
| +++ b/Source/web/FrameLoaderClientImpl.cpp
|
| @@ -759,7 +759,7 @@ PassRefPtrWillBeRawPtr<Widget> FrameLoaderClientImpl::createPlugin(
|
| return nullptr;
|
| }
|
|
|
| - if (policy != AllowDetachedPlugin && !element->renderer()) {
|
| + if (policy != AllowDetachedPlugin && !element->layoutObject()) {
|
| #if ENABLE(OILPAN)
|
| container->dispose();
|
| #endif
|
|
|