| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index cb38d4bac6eddaab09f30c0080a9bf208f8f4848..a5f83279774d6d46784f28319f862ce7dd03fda6 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -817,6 +817,7 @@ v8::Local<v8::Value> WebLocalFrameImpl::callFunctionEvenIfScriptDisabled(
|
| int argc,
|
| v8::Local<v8::Value> argv[]) {
|
| DCHECK(frame());
|
| + ScriptForbiddenScope::AllowUserAgentScript allowScriptingEvenIfForbidden;
|
| v8::Local<v8::Value> result;
|
| if (!V8ScriptRunner::callFunction(
|
| function, frame()->document(), receiver, argc,
|
|
|