| 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 896fb7729f1fddf424cef0ac7ed5a905e217716c..6dbfa1f09bf9ca8f47fbabd904bac788ca9a460e 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp
|
| @@ -4,9 +4,9 @@
|
|
|
| #include "core/inspector/InspectorHighlight.h"
|
|
|
| -#include "core/dom/ClientRect.h"
|
| #include "core/dom/PseudoElement.h"
|
| #include "core/frame/LocalFrameView.h"
|
| +#include "core/geometry/DOMRect.h"
|
| #include "core/layout/LayoutBox.h"
|
| #include "core/layout/LayoutInline.h"
|
| #include "core/layout/LayoutObject.h"
|
| @@ -220,7 +220,7 @@ std::unique_ptr<protocol::DictionaryValue> BuildElementInfo(Element* element) {
|
|
|
| // layoutObject the getBoundingClientRect() data in the tooltip
|
| // to be consistent with the rulers (see http://crbug.com/262338).
|
| - ClientRect* bounding_box = element->getBoundingClientRect();
|
| + DOMRect* bounding_box = element->getBoundingClientRect();
|
| element_info->setString("nodeWidth", String::Number(bounding_box->width()));
|
| element_info->setString("nodeHeight", String::Number(bounding_box->height()));
|
|
|
|
|