Commit 9236e505 authored by zeeshanq@chromium.org's avatar zeeshanq@chromium.org

Remove fake UserGestureIndicator from WebLocalFrameImpl

This CL removes the old code needed to make the blink roll happen properly.

This is part 3 of 3, depends on:
https://codereview.chromium.org/518583003/

BUG=408426, 406336

Review URL: https://codereview.chromium.org/518633002

git-svn-id: svn://svn.chromium.org/blink/trunk@181660 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e3a8868d
...@@ -760,9 +760,6 @@ v8::Handle<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValue(const WebSc ...@@ -760,9 +760,6 @@ v8::Handle<v8::Value> WebLocalFrameImpl::executeScriptAndReturnValue(const WebSc
{ {
ASSERT(frame()); ASSERT(frame());
// TODO: Remove this after blink has rolled and chromium change landed. (crrev.com/516753002)
UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture);
TextPosition position(OrdinalNumber::fromOneBasedInt(source.startLine), OrdinalNumber::first()); TextPosition position(OrdinalNumber::fromOneBasedInt(source.startLine), OrdinalNumber::first());
return frame()->script().executeScriptInMainWorldAndReturnValue(ScriptSourceCode(source.code, source.url, position)); return frame()->script().executeScriptInMainWorldAndReturnValue(ScriptSourceCode(source.code, source.url, position));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment