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

Unified Diff: third_party/WebKit/Source/core/dom/ClientRectList.h

Issue 2869803003: Change from ClientRect to DOMRect.
Patch Set: Change from ClientRect to DOMRect. Created 3 years, 6 months 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ClientRectList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ClientRectList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698