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

Unified Diff: third_party/WebKit/Source/core/dom/Range.cpp

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 | « third_party/WebKit/Source/core/dom/Range.h ('k') | third_party/WebKit/Source/core/dom/Range.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Range.cpp
diff --git a/third_party/WebKit/Source/core/dom/Range.cpp b/third_party/WebKit/Source/core/dom/Range.cpp
index c5d29bf4cc3fa4735915b34c96b825b0d03247ba..25c4b930d51402b928117b24f2f2d695ce8c386f 100644
--- a/third_party/WebKit/Source/core/dom/Range.cpp
+++ b/third_party/WebKit/Source/core/dom/Range.cpp
@@ -27,7 +27,6 @@
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/CharacterData.h"
-#include "core/dom/ClientRect.h"
#include "core/dom/ClientRectList.h"
#include "core/dom/ContainerNode.h"
#include "core/dom/DocumentFragment.h"
@@ -46,6 +45,7 @@
#include "core/editing/serializers/Serialization.h"
#include "core/events/ScopedEventQueue.h"
#include "core/frame/Settings.h"
+#include "core/geometry/DOMRect.h"
#include "core/html/HTMLBodyElement.h"
#include "core/html/HTMLElement.h"
#include "core/layout/LayoutObject.h"
@@ -1605,8 +1605,8 @@ ClientRectList* Range::getClientRects() const {
return ClientRectList::Create(quads);
}
-ClientRect* Range::getBoundingClientRect() const {
- return ClientRect::Create(BoundingRect());
+DOMRect* Range::getBoundingClientRect() const {
+ return DOMRect::Create(BoundingRect());
}
void Range::GetBorderAndTextQuads(Vector<FloatQuad>& quads) const {
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.h ('k') | third_party/WebKit/Source/core/dom/Range.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698