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

Unified Diff: Source/core/editing/EphemeralRange.h

Issue 1315543002: Introduce createRange(const EphemeralRange&) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-24T22:18:16 Created 5 years, 4 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 | « no previous file | Source/core/editing/EphemeralRange.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EphemeralRange.h
diff --git a/Source/core/editing/EphemeralRange.h b/Source/core/editing/EphemeralRange.h
index c4f280268b2ea62537543c096346c017ae5148a6..b8daf06b4f6bf61207a170fb8b19de9b027f712e 100644
--- a/Source/core/editing/EphemeralRange.h
+++ b/Source/core/editing/EphemeralRange.h
@@ -87,6 +87,10 @@ using EphemeralRange = EphemeralRangeTemplate<EditingStrategy>;
extern template class CORE_EXTERN_TEMPLATE_EXPORT EphemeralRangeTemplate<EditingInComposedTreeStrategy>;
using EphemeralRangeInComposedTree = EphemeralRangeTemplate<EditingInComposedTreeStrategy>;
+// Returns a newly created |Range| object from |range| or |nullptr| if
+// |range.isNull()| returns true.
+CORE_EXPORT PassRefPtrWillBeRawPtr<Range> createRange(const EphemeralRange& /* range */);
+
} // namespace blink
#endif
« no previous file with comments | « no previous file | Source/core/editing/EphemeralRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698