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

Unified Diff: third_party/WebKit/Source/web/FindInPageCoordinates.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/web/FindInPageCoordinates.h
diff --git a/third_party/WebKit/Source/web/FindInPageCoordinates.h b/third_party/WebKit/Source/web/FindInPageCoordinates.h
index 18764f878420d4ebddfc0361be3f7698743c2e2a..a6e24ab5b8adfdda05b400e8623890f3ba6e49c1 100644
--- a/third_party/WebKit/Source/web/FindInPageCoordinates.h
+++ b/third_party/WebKit/Source/web/FindInPageCoordinates.h
@@ -31,11 +31,11 @@
#ifndef FindInPageCoordinates_h
#define FindInPageCoordinates_h
+#include "core/editing/EphemeralRange.h"
#include "platform/geometry/FloatRect.h"
#include "web/WebExport.h"
namespace blink {
-class Range;
class LayoutObject;
// Find-in-page coordinate conversion methods.
@@ -56,7 +56,7 @@ class LayoutObject;
WEB_EXPORT FloatRect findInPageRectFromAbsoluteRect(const FloatRect&,
const LayoutObject*);
-WEB_EXPORT FloatRect findInPageRectFromRange(Range*);
+WEB_EXPORT FloatRect findInPageRectFromRange(const EphemeralRange&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698