Index: Source/web/WebLocalFrameImpl.cpp |
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp |
index f08b9a1da0a82a5ea5579543efd56a4c40184424..1bbd935e0976cb0e577d9fe26b24389d5df35be7 100644 |
--- a/Source/web/WebLocalFrameImpl.cpp |
+++ b/Source/web/WebLocalFrameImpl.cpp |
@@ -1834,6 +1834,16 @@ void WebLocalFrameImpl::setFindEndstateFocusAndSelection() |
} |
} |
+bool WebLocalFrameImpl::setCaretSelectionFromRangeSelection() |
+{ |
+ if (!hasSelection()) |
yosin_UTC9
2014/06/17 01:16:59
Q: Why do we need to call |hasSelection|?
It seems
AKVT
2014/06/17 06:35:46
Done.
|
+ return false; |
+ |
+ // Collapse the selection to end of Range Selection. |
+ FrameSelection& selection = frame()->selection(); |
+ return selection.collapseToEnd(); |
+} |
+ |
void WebLocalFrameImpl::didFail(const ResourceError& error, bool wasProvisional) |
{ |
if (!client()) |