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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2775663008: LayoutObject::absoluteBoundingBoxRectForRange() should take EphemeralRange (Closed)
Patch Set: Review comments Addressed Created 3 years, 9 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
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 1a10febda3a228e71f7df05f6c5f0ba7d636f1b9..81d536fa0efd5490a06c85b2af9b907338ab6c1b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -30,6 +30,7 @@
#include "core/CoreExport.h"
#include "core/dom/Document.h"
#include "core/dom/DocumentLifecycle.h"
+#include "core/editing/EphemeralRange.h"
#include "core/editing/PositionWithAffinity.h"
#include "core/layout/LayoutObjectChildList.h"
#include "core/layout/MapCoordinatesFlags.h"
@@ -1279,7 +1280,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
virtual void absoluteQuads(Vector<FloatQuad>&,
MapCoordinatesFlags mode = 0) const {}
- static FloatRect absoluteBoundingBoxRectForRange(const Range*);
+ static FloatRect absoluteBoundingBoxRectForRange(const EphemeralRange&);
// The bounding box (see: absoluteBoundingBoxRect) including all descendant
// bounding boxes.

Powered by Google App Engine
This is Rietveld 408576698