Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 4f1a15dcd47535e662d8e6aae5ab679d8a4dc776..c713f117dedb88e2ecf976fe88345916ed40cbac 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -417,7 +417,7 @@ void WebPluginContainerImpl::scrollRect(const WebRect& rect) |
void WebPluginContainerImpl::reportGeometry() |
{ |
// We cannot compute geometry without a parent or layoutObject. |
- if (!parent() || !m_element->layoutObject()) |
+ if (!parent() || !m_element || !m_element->layoutObject()) |
return; |
IntRect windowRect, clipRect, unobscuredRect; |