Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index f9ada22df6e61510479b5c639df71d9d0a608d86..7f52011114eb2ca900bad3b8a0aeaf36112a1397 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -972,10 +972,7 @@ IntRect WebPluginContainerImpl::windowClipRect() const |
IntRect clipRect = |
convertToContainingWindow(IntRect(0, 0, width(), height())); |
- // document().renderView() can be 0 when we receive messages from the |
- // plugins while we are destroying a frame. |
- // FIXME: Can we just check m_element->document().isActive() ? |
- if (m_element->renderer()->document().renderView()) { |
+ if (m_element->document().isActive()) { |
// Take our element and get the clip rect from the enclosing layer and |
// frame view. |
clipRect.intersect( |