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

Unified Diff: third_party/WebKit/Source/core/editing/DOMSelection.h

Issue 2778963002: Return EphemeralRange instead of Range in DOMSelection::createRangeFromSelectionEditor (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/core/editing/DOMSelection.h
diff --git a/third_party/WebKit/Source/core/editing/DOMSelection.h b/third_party/WebKit/Source/core/editing/DOMSelection.h
index 6dbc02aad5b233acfe70d70c8c7cbf7ccfe7b46a..150408b91fb4de31b6737a39e32c154fda96dd8f 100644
--- a/third_party/WebKit/Source/core/editing/DOMSelection.h
+++ b/third_party/WebKit/Source/core/editing/DOMSelection.h
@@ -122,7 +122,7 @@ class CORE_EXPORT DOMSelection final : public GarbageCollected<DOMSelection>,
void addConsoleError(const String& message);
Range* primaryRangeOrNull() const;
- Range* createRangeFromSelectionEditor() const;
+ EphemeralRange createRangeFromSelectionEditor() const;
bool isSelectionOfDocument() const;
void cacheRangeIfSelectionOfDocument(Range*) const;

Powered by Google App Engine
This is Rietveld 408576698