| Index: third_party/WebKit/Source/core/dom/ClientRectList.h
|
| diff --git a/third_party/WebKit/Source/core/dom/ClientRectList.h b/third_party/WebKit/Source/core/dom/ClientRectList.h
|
| index 40a1c51d9101d21187968e147d19a45b30585247..47caf42f82844c65d173606fcb9df6f7bf2c97ae 100644
|
| --- a/third_party/WebKit/Source/core/dom/ClientRectList.h
|
| +++ b/third_party/WebKit/Source/core/dom/ClientRectList.h
|
| @@ -28,14 +28,14 @@
|
| #define ClientRectList_h
|
|
|
| #include "core/CoreExport.h"
|
| -#include "core/dom/ClientRect.h"
|
| +#include "core/geometry/DOMRect.h"
|
| #include "platform/bindings/ScriptWrappable.h"
|
| #include "platform/geometry/FloatQuad.h"
|
| #include "platform/heap/Handle.h"
|
|
|
| namespace blink {
|
|
|
| -class ClientRect;
|
| +class DOMRect;
|
|
|
| class CORE_EXPORT ClientRectList final
|
| : public GarbageCollected<ClientRectList>,
|
| @@ -54,8 +54,8 @@ class CORE_EXPORT ClientRectList final
|
| }
|
|
|
| unsigned length() const;
|
| - ClientRect* item(unsigned index);
|
| - ClientRect* AnonymousIndexedGetter(unsigned index) { return item(index); }
|
| + DOMRect* item(unsigned index);
|
| + DOMRect* AnonymousIndexedGetter(unsigned index) { return item(index); }
|
|
|
| DECLARE_TRACE();
|
|
|
| @@ -66,12 +66,12 @@ class CORE_EXPORT ClientRectList final
|
| explicit ClientRectList(const Rects& rects) {
|
| list_.ReserveInitialCapacity(rects.size());
|
| for (const auto& r : rects)
|
| - list_.push_back(ClientRect::Create(FloatRect(r)));
|
| + list_.push_back(DOMRect::Create(FloatRect(r)));
|
| }
|
|
|
| explicit ClientRectList(const Vector<FloatQuad>&);
|
|
|
| - HeapVector<Member<ClientRect>> list_;
|
| + HeapVector<Member<DOMRect>> list_;
|
| };
|
|
|
| } // namespace blink
|
|
|