Index: Source/web/WebFrameImpl.cpp |
diff --git a/Source/web/WebFrameImpl.cpp b/Source/web/WebFrameImpl.cpp |
index 8bd58c8fd7c7afed4424ddc0835692b6b8c666c2..5522ff387ce0ea3671e7ff6686630730375c3c4a 100644 |
--- a/Source/web/WebFrameImpl.cpp |
+++ b/Source/web/WebFrameImpl.cpp |
@@ -843,13 +843,6 @@ bool WebFrameImpl::checkIfRunInsecureContent(const WebURL& url) const |
v8::Handle<v8::Value> WebFrameImpl::executeScriptAndReturnValue(const WebScriptSource& source) |
{ |
ASSERT(frame()); |
- |
- // FIXME: This fake user gesture is required to make a bunch of pyauto |
- // tests pass. If this isn't needed in non-test situations, we should |
- // consider removing this code and changing the tests. |
- // http://code.google.com/p/chromium/issues/detail?id=86397 |
- UserGestureIndicator gestureIndicator(DefinitelyProcessingNewUserGesture); |
- |
TextPosition position(OrdinalNumber::fromOneBasedInt(source.startLine), OrdinalNumber::first()); |
return frame()->script().executeScriptInMainWorldAndReturnValue(ScriptSourceCode(source.code, source.url, position)).v8Value(); |
} |