| 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 f3a87a250ed696b3dea192ecb00ae4f2c5b436e5..0080d1436ef5442379651923d4838027b782e413 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -84,6 +84,8 @@ BrowserPlugin::BrowserPlugin(
|
| }
|
|
|
| BrowserPlugin::~BrowserPlugin() {
|
| + Detach();
|
| +
|
| if (compositing_helper_.get())
|
| compositing_helper_->OnContainerDestroy();
|
|
|
| @@ -488,6 +490,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_)
|
|
|