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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorHighlight.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/InspectorHighlight.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
index 96b466018a30014605c1d5bdfc502c9e1dfb0390..8132d6b03382597ab4ad93fbf0a04484bef519a7 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
@@ -412,12 +412,12 @@ bool InspectorHighlight::getBoxModel(
(*model)->setShapeOutside(
protocol::DOM::ShapeOutsideInfo::create()
.setBounds(buildArrayForQuad(boundsQuad))
- .setShape(protocol::Array<protocol::Value>::parse(
+ .setShape(protocol::Array<protocol::Value>::fromValue(
ShapePathBuilder::buildPath(*view, *layoutObject,
*shapeOutsideInfo, paths.shape, 1.f)
.get(),
&errors))
- .setMarginShape(protocol::Array<protocol::Value>::parse(
+ .setMarginShape(protocol::Array<protocol::Value>::fromValue(
ShapePathBuilder::buildPath(*view, *layoutObject,
*shapeOutsideInfo,
paths.marginShape, 1.f)

Powered by Google App Engine
This is Rietveld 408576698