Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index b7936a71f152dedaf94123914bfa4a6813d71e77..e66afd1d0396012fc68d04726b228b3419329b2e 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -136,6 +136,8 @@ void WebPluginContainerImpl::invalidateRect(const IntRect& rect) |
return; |
RenderBox* renderer = toRenderBox(m_element->renderer()); |
+ if (!renderer) |
+ return; |
IntRect dirtyRect = rect; |
dirtyRect.move(renderer->borderLeft() + renderer->paddingLeft(), |