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