| Index: content/renderer/browser_plugin/browser_plugin.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
|
| index f4b24e1cb029c0954634918d1db1fc3a77fe9973..a8a3e1ec90a7b707ef6194d14a312b2e11e12d9b 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -85,6 +85,8 @@ BrowserPlugin::BrowserPlugin(
|
| }
|
|
|
| BrowserPlugin::~BrowserPlugin() {
|
| + Detach();
|
| +
|
| if (compositing_helper_.get())
|
| compositing_helper_->OnContainerDestroy();
|
|
|
| @@ -501,6 +503,8 @@ bool BrowserPlugin::handleInputEvent(const blink::WebInputEvent& event,
|
| if (guest_crashed_ || !attached())
|
| return false;
|
|
|
| + DCHECK(!blink::WebInputEvent::isTouchEventType(event.type));
|
| +
|
| if (event.type == blink::WebInputEvent::MouseWheel) {
|
| auto wheel_event = static_cast<const blink::WebMouseWheelEvent&>(event);
|
| if (wheel_event.resendingPluginId == browser_plugin_instance_id_)
|
|
|