Index: Source/WebCore/inspector/InspectorOverlay.cpp |
=================================================================== |
--- Source/WebCore/inspector/InspectorOverlay.cpp (revision 129366) |
+++ Source/WebCore/inspector/InspectorOverlay.cpp (working copy) |
@@ -271,6 +271,9 @@ |
} |
FrameView* view = m_page->mainFrame()->view(); |
+ if (!view) |
+ return; |
+ |
FrameView* overlayView = overlayPage()->mainFrame()->view(); |
IntRect visibleRect = enclosingIntRect(view->visibleContentRect()); |
overlayView->resize(visibleRect.width(), visibleRect.height()); |