| 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 e5178b086089d0fe2da67845bcaa1a08f50c7fc9..f8053adf0cd76a88e5415a2fbb850772442c46bb 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -685,8 +685,11 @@ void BrowserPlugin::GuestContentWindowReady(int content_window_routing_id) {
|
| }
|
|
|
| void BrowserPlugin::SetAcceptTouchEvents(bool accept) {
|
| - if (container())
|
| - container()->setIsAcceptingTouchEvents(accept);
|
| + if (container()) {
|
| + container()->requestTouchEventType(accept ?
|
| + WebKit::WebPluginContainer::TouchEventRequestTypeRaw :
|
| + WebKit::WebPluginContainer::TouchEventRequestTypeNone);
|
| + }
|
| }
|
|
|
| WebKit::WebPluginContainer* BrowserPlugin::container() const {
|
|
|