| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| index 32e9b9bfedd88bc54624c4b609752c429968e675..a971232ae0f0bd9c3c005480eb543729efe65e01 100644
|
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp
|
| @@ -476,9 +476,9 @@ WebString WebPluginContainerImpl::executeScriptURL(const WebURL& url,
|
| String script = decodeURLEscapeSequences(
|
| kurl.getString().substring(strlen("javascript:")));
|
|
|
| - UserGestureIndicator gestureIndicator(popupsAllowed
|
| - ? DefinitelyProcessingNewUserGesture
|
| - : PossiblyProcessingUserGesture);
|
| + UserGestureIndicator gestureIndicator(
|
| + popupsAllowed ? UserGestureToken::create(UserGestureToken::NewGesture)
|
| + : nullptr);
|
| v8::HandleScope handleScope(toIsolate(frame));
|
| v8::Local<v8::Value> result =
|
| frame->script().executeScriptInMainWorldAndReturnValue(
|
|
|