| Index: content/renderer/pepper/plugin_instance_throttler_impl.cc
|
| diff --git a/content/renderer/pepper/plugin_instance_throttler_impl.cc b/content/renderer/pepper/plugin_instance_throttler_impl.cc
|
| index 7bf7d967ffbc75f06e51ed3be8ec736df1b8cbbd..19e731cbd7382f4dcef2f27394ca2b9f71a9c29d 100644
|
| --- a/content/renderer/pepper/plugin_instance_throttler_impl.cc
|
| +++ b/content/renderer/pepper/plugin_instance_throttler_impl.cc
|
| @@ -200,12 +200,12 @@ bool PluginInstanceThrottlerImpl::ConsumeInputEvent(
|
| // TODO(tommycli): We should instead show a custom context menu (probably
|
| // using PluginPlaceholder) so users aren't confused and try to click the
|
| // Flash-internal 'Play' menu item. This is a stopgap solution.
|
| - if (event.modifiers & blink::WebInputEvent::Modifiers::RightButtonDown)
|
| + if (event.modifiers() & blink::WebInputEvent::Modifiers::RightButtonDown)
|
| return false;
|
|
|
| if (state_ != THROTTLER_STATE_MARKED_ESSENTIAL &&
|
| - event.type == blink::WebInputEvent::MouseUp &&
|
| - (event.modifiers & blink::WebInputEvent::LeftButtonDown)) {
|
| + event.type() == blink::WebInputEvent::MouseUp &&
|
| + (event.modifiers() & blink::WebInputEvent::LeftButtonDown)) {
|
| bool was_throttled = IsThrottled();
|
| MarkPluginEssential(UNTHROTTLE_METHOD_BY_CLICK);
|
| return was_throttled;
|
|
|