Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 0ac71eeed443e1e4c3b300b6601a2f76d394da0d..e20e1e51906684cbafa931c9a4bd48f892d6f79d 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -117,7 +117,6 @@ |
#include "third_party/WebKit/public/web/WebColorSuggestion.h" |
#include "third_party/WebKit/public/web/WebDocument.h" |
#include "third_party/WebKit/public/web/WebGlyphCache.h" |
-#include "third_party/WebKit/public/web/WebLocalFrame.h" |
#include "third_party/WebKit/public/web/WebMediaStreamRegistry.h" |
#include "third_party/WebKit/public/web/WebNavigationPolicy.h" |
#include "third_party/WebKit/public/web/WebPlugin.h" |
@@ -1309,13 +1308,15 @@ void RenderFrameImpl::OnUnselect() { |
frame_->executeCommand(WebString::fromUTF8("Unselect"), GetFocusedElement()); |
} |
-void RenderFrameImpl::OnMoveRangeSelectionExtent(const gfx::Point& point) { |
+void RenderFrameImpl::OnMoveRangeSelectionExtent( |
+ const gfx::Point& point, |
+ blink::WebLocalFrame::TextGranularity granularity) { |
// This IPC is dispatched by RenderWidgetHost, so use its routing id. |
Send(new InputHostMsg_MoveRangeSelectionExtent_ACK( |
GetRenderWidget()->routing_id())); |
base::AutoReset<bool> handling_select_range(&handling_select_range_, true); |
- frame_->moveRangeSelectionExtent(point); |
+ frame_->moveRangeSelectionExtent(point, granularity); |
} |
void RenderFrameImpl::OnReplace(const base::string16& text) { |