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

Unified Diff: webkit/glue/webdevtoolsagent_impl.cc

Issue 99184: DevTools: Implement styles toggle:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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 | « webkit/glue/devtools/tools_agent.h ('k') | webkit/glue/webkit_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdevtoolsagent_impl.cc
===================================================================
--- webkit/glue/webdevtoolsagent_impl.cc (revision 14723)
+++ webkit/glue/webdevtoolsagent_impl.cc (working copy)
@@ -195,12 +195,13 @@
const String& json_args) {
Node* node = dom_agent_impl_->GetNodeForId(node_id);
String result;
+ String exception;
if (node) {
result = debugger_agent_impl_->ExecuteUtilityFunction(function_name, node,
- json_args);
+ json_args, &exception);
}
tools_agent_delegate_stub_->DidExecuteUtilityFunction(call_id,
- result);
+ result, exception);
}
void WebDevToolsAgentImpl::ClearConsoleMessages() {
@@ -271,4 +272,3 @@
MessageLoopDispatchHandler handler) {
DebuggerAgentManager::SetMessageLoopDispatchHandler(handler);
}
-
« no previous file with comments | « webkit/glue/devtools/tools_agent.h ('k') | webkit/glue/webkit_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698