Index: Source/core/plugins/IFrameShimSupport.cpp |
diff --git a/Source/core/plugins/IFrameShimSupport.cpp b/Source/core/plugins/IFrameShimSupport.cpp |
index b5f67cb401c080ca5b89d89b662a716e5d56d2b9..95bccd1c1c982c32b4f6e59ba23432a909537260 100644 |
--- a/Source/core/plugins/IFrameShimSupport.cpp |
+++ b/Source/core/plugins/IFrameShimSupport.cpp |
@@ -143,8 +143,7 @@ void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& |
const FrameView* frameView = toFrameView((*it).get()); |
// Check to make sure we can get both the element and the RenderObject |
// for this FrameView, if we can't just move on to the next object. |
- if (!frameView->frame() || !frameView->frame()->ownerElement() |
- || !frameView->frame()->ownerElement()->renderer()) |
+ if (!frameView->frame()->ownerElement() || !frameView->frame()->ownerElement()->renderer()) |
continue; |
HTMLElement* element = frameView->frame()->ownerElement(); |