Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: Source/WebCore/inspector/InspectorOverlay.cpp

Issue 10967070: Merge 129350 - Web Inspector:EXC_BAD_ACCESS upon closing page with node highlighted (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698