| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index dc176876650a155d6f13fea9fa24958b43c2b4b1..578159fd148945610ff8c2415e499fcfbff2a24f 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -2438,10 +2438,17 @@ void RenderViewImpl::OnDragTargetDragLeave() {
|
| webview()->dragTargetDragLeave();
|
| }
|
|
|
| -void RenderViewImpl::OnDragTargetDrop(const gfx::Point& client_point,
|
| +void RenderViewImpl::OnDragTargetDrop(const DropData& drop_data,
|
| + bool is_valid_drop_data,
|
| + const gfx::Point& client_point,
|
| const gfx::Point& screen_point,
|
| int key_modifiers) {
|
| - webview()->dragTargetDrop(client_point, screen_point, key_modifiers);
|
| + blink::WebDragData web_drag_data;
|
| + if (is_valid_drop_data) {
|
| + web_drag_data = DropDataToWebDragData(drop_data);
|
| + }
|
| + webview()->dragTargetDrop(web_drag_data, client_point, screen_point,
|
| + key_modifiers);
|
| }
|
|
|
| void RenderViewImpl::OnDragSourceEnded(const gfx::Point& client_point,
|
|
|