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

Unified Diff: content/shell/renderer/webkit_test_runner.cc

Issue 16268007: DevTools: fix for open-close-open.html test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: content/shell/renderer/webkit_test_runner.cc
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc
index a6bd657859f79f924ce6c33d2c835c84b6bbcfb6..ece38507ec03b1b2ba12668dc3b80d7408834c1e 100644
--- a/content/shell/renderer/webkit_test_runner.cc
+++ b/content/shell/renderer/webkit_test_runner.cc
@@ -365,6 +365,9 @@ void WebKitTestRunner::showDevTools() {
void WebKitTestRunner::closeDevTools() {
Send(new ShellViewHostMsg_CloseDevTools(routing_id()));
+ WebDevToolsAgent* agent = render_view()->GetWebView()->devToolsAgent();
+ if (agent)
+ agent->detach();
yurys 2013/06/06 09:28:23 How was it called before when front-end was closin
yurys 2013/06/06 09:35:41 Looks like WebDevToolsAgentImpl::detach() should c
}
void WebKitTestRunner::evaluateInWebInspector(long call_id,
« 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