| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index d750094d7fd7e76deb9acdaa2599a501e7ff8e31..ea9612f2aa2aa56100cb7772cb8781292045e350 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -26,7 +26,6 @@
|
|
|
| #include "config.h"
|
| #include "Internals.h"
|
| -
|
| #include <v8.h>
|
| #include "InspectorFrontendClientLocal.h"
|
| #include "InternalProfilers.h"
|
| @@ -813,6 +812,17 @@ PassRefPtrWillBeRawPtr<ClientRectList> Internals::inspectorHighlightRects(Docume
|
| return ClientRectList::create(highlight.quads);
|
| }
|
|
|
| +String Internals::inspectorHighlightCSSShapes(Node *node, ExceptionState& exceptionState)
|
| +{
|
| + if (!node) {
|
| + exceptionState.throwDOMException(InvalidAccessError, ExceptionMessages::argumentNullOrIncorrectType(1, "Node"));
|
| + return String();
|
| + }
|
| +
|
| + RefPtr<JSONObject> object = node->document().page()->inspectorController().buildObjectForShapeOutside(node->document().frame(), toRenderBox(node->renderer()));
|
| + return object ? object->toJSONString(): String();
|
| +}
|
| +
|
| unsigned Internals::markerCountForNode(Node* node, const String& markerType, ExceptionState& exceptionState)
|
| {
|
| if (!node) {
|
|
|