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

Unified Diff: third_party/WebKit/Source/web/FindInPageCoordinates.h

Issue 2775663008: LayoutObject::absoluteBoundingBoxRectForRange() should take EphemeralRange (Closed)
Patch Set: 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..506e091634920bd70a23e66471a187157cdf748a 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(EphemeralRange&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698