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

Unified Diff: third_party/WebKit/Source/web/InspectorOverlay.cpp

Issue 2522583002: Roll third_party/inspector_protocol to 4ad35c45aca9834b67ec2cb152c816ea1b7ceb48 (Closed)
Patch Set: updated README.chromium Created 4 years, 1 month 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
Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
index 129080c0a6b012fc65a428d098984d398a800859..0bd9ad7edda501762cd5c9afc26e35e554633a1e 100644
--- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
+++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
@@ -636,7 +636,7 @@ void InspectorOverlay::evaluateInOverlay(const String& method,
toLocalFrame(overlayPage()->mainFrame())
->script()
.executeScriptInMainWorld(
- "dispatch(" + command->toJSONString() + ")",
+ "dispatch(" + command->serialize() + ")",
ScriptController::ExecuteScriptWhenScriptsDisabled);
}
@@ -650,7 +650,7 @@ void InspectorOverlay::evaluateInOverlay(
toLocalFrame(overlayPage()->mainFrame())
->script()
.executeScriptInMainWorld(
- "dispatch(" + command->toJSONString() + ")",
+ "dispatch(" + command->serialize() + ")",
ScriptController::ExecuteScriptWhenScriptsDisabled);
}

Powered by Google App Engine
This is Rietveld 408576698