| Index: third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
|
| index be96ff5986a5487a4d592743cf973f642a122e6d..3d2f019483b34fec3a9a8839d0dee3ab4563c437 100644
|
| --- a/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ScrollMetricsTest.cpp
|
| @@ -2,9 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "core/dom/ClientRect.h"
|
| #include "core/frame/LocalFrameView.h"
|
| #include "core/frame/WebLocalFrameBase.h"
|
| +#include "core/geometry/DOMRect.h"
|
| #include "core/input/EventHandler.h"
|
| #include "core/layout/LayoutView.h"
|
| #include "core/paint/PaintLayerScrollableArea.h"
|
| @@ -101,7 +101,7 @@ void ScrollMetricsTest::Scroll(Element* element,
|
| const WebGestureDevice device) {
|
| DCHECK(element);
|
| DCHECK(element->getBoundingClientRect());
|
| - ClientRect* rect = element->getBoundingClientRect();
|
| + DOMRect* rect = element->getBoundingClientRect();
|
| ScrollBeginEventBuilder scroll_begin(
|
| IntPoint(rect->left() + rect->width() / 2,
|
| rect->top() + rect->height() / 2),
|
|
|