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

Unified Diff: third_party/WebKit/Source/core/inspector/LayoutEditor.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/core/inspector/LayoutEditor.cpp
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
index 8b60d1d168d057b5ffbb677e2cf761ec24f05c4b..ebb83d67f5cc529354185067587cb4da7db607d5 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.cpp
@@ -431,7 +431,7 @@ void LayoutEditor::evaluateInOverlay(
command->pushValue(protocol::StringValue::create(method));
command->pushValue(std::move(argument));
m_scriptController->executeScriptInMainWorld(
- "dispatch(" + command->toJSONString() + ")",
+ "dispatch(" + command->serialize() + ")",
ScriptController::ExecuteScriptWhenScriptsDisabled);
}

Powered by Google App Engine
This is Rietveld 408576698