Index: Source/core/editing/VisibleSelection.cpp |
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp |
index 2ef64380a1ca35dff680130a93f3d22e570d48cf..421f4544ead38ba72796145e7c72f33356019593 100644 |
--- a/Source/core/editing/VisibleSelection.cpp |
+++ b/Source/core/editing/VisibleSelection.cpp |
@@ -245,7 +245,7 @@ PassRefPtrWillBeRawPtr<Range> VisibleSelection::toNormalizedRange() const |
const EphemeralRange range = toNormalizedEphemeralRange(); |
if (range.isNull()) |
tkent
2015/08/24 09:38:05
We can remove these two lines.
yosin_UTC9
2015/08/24 13:19:22
Done
|
return nullptr; |
- return Range::create(range.document(), range.startPosition(), range.endPosition()); |
+ return createRange(range); |
} |
template <typename Strategy> |