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

Unified Diff: WebCore/inspector/InspectorController.cpp

Issue 3385005: Merge 67185 - 2010-09-09 Ilya Tikhonovsky <loislo@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 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: WebCore/inspector/InspectorController.cpp
===================================================================
--- WebCore/inspector/InspectorController.cpp (revision 67542)
+++ WebCore/inspector/InspectorController.cpp (working copy)
@@ -604,8 +604,7 @@
if (m_showAfterVisible == lastActivePanel)
m_showAfterVisible = setting(lastActivePanel);
- if (m_nodeToFocus)
- focusNode();
+
showPanel(m_showAfterVisible);
if (m_resourceTrackingEnabled)
@@ -628,6 +627,9 @@
m_domAgent->setDocument(m_inspectedPage->mainFrame()->document());
+ if (m_nodeToFocus)
+ focusNode();
+
if (m_expiredConsoleMessageCount)
m_frontend->updateConsoleMessageExpiredCount(m_expiredConsoleMessageCount);
unsigned messageCount = m_consoleMessages.size();
« 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