| Index: Source/core/editing/FrameSelection.cpp
|
| diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp
|
| index a2077e0fb317dfb0865febf50ff84f3b6299d0a9..5d922fe3cd55731ffb3275c6c78e4e4966208181 100644
|
| --- a/Source/core/editing/FrameSelection.cpp
|
| +++ b/Source/core/editing/FrameSelection.cpp
|
| @@ -1743,7 +1743,7 @@ template <typename SelectionType>
|
| String extractSelectedTextAlgorithm(const FrameSelection& selection, TextIteratorBehavior behavior)
|
| {
|
| VisibleSelection visibleSelection = selection.selection();
|
| - EphemeralRangeTemplate<typename SelectionType::Strategy> range = VisibleSelection::normalizeRange(SelectionType::asRange(visibleSelection));
|
| + EphemeralRangeTemplate<typename SelectionType::Strategy> range = normalizeRange(SelectionType::asRange(visibleSelection));
|
| // We remove '\0' characters because they are not visibly rendered to the user.
|
| return plainText(range, behavior).replace(0, "");
|
| }
|
| @@ -1759,7 +1759,7 @@ template <typename SelectionType>
|
| static String extractSelectedHTMLAlgorithm(const FrameSelection& selection)
|
| {
|
| VisibleSelection visibleSelection = selection.selection();
|
| - EphemeralRangeTemplate<typename SelectionType::Strategy> range = VisibleSelection::normalizeRange(SelectionType::asRange(visibleSelection));
|
| + EphemeralRangeTemplate<typename SelectionType::Strategy> range = normalizeRange(SelectionType::asRange(visibleSelection));
|
| return createMarkup(range.startPosition(), range.endPosition(), AnnotateForInterchange, ConvertBlocksToInlines::NotConvert, ResolveNonLocalURLs);
|
| }
|
|
|
|
|