| Index: components/plugins/renderer/webview_plugin.cc
|
| diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc
|
| index 4cba2c158b41c5312412aadaeed608c781c7fc1f..8cfcad816d16ab3f23972b3c1db9afeb486370c7 100644
|
| --- a/components/plugins/renderer/webview_plugin.cc
|
| +++ b/components/plugins/renderer/webview_plugin.cc
|
| @@ -245,7 +245,9 @@ void WebViewPlugin::startDragging(blink::WebReferrerPolicy,
|
| const WebImage&,
|
| const WebPoint&) {
|
| // Immediately stop dragging.
|
| - web_view_->dragSourceSystemDragEnded();
|
| + DCHECK(web_view_->mainFrame()->isWebLocalFrame());
|
| + web_view_->mainFrame()->toWebLocalFrame()->frameWidget()->
|
| + dragSourceSystemDragEnded();
|
| }
|
|
|
| bool WebViewPlugin::allowsBrokenNullLayerTreeView() const {
|
|
|