Chromium Code Reviews| Index: webkit/api/src/WebPluginContainerImpl.cpp |
| =================================================================== |
| --- webkit/api/src/WebPluginContainerImpl.cpp (revision 26222) |
| +++ webkit/api/src/WebPluginContainerImpl.cpp (working copy) |
| @@ -211,7 +211,8 @@ |
| void WebPluginContainerImpl::reportGeometry() |
| { |
| - if (!parent()) |
| + // We cannot compute geometry without an associated RenderObject. |
| + if (!parent() || !m_element->renderer()) |
| return; |
| IntRect windowRect, clipRect; |