| Index: Source/bindings/v8/V8WindowShell.cpp
|
| diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp
|
| index 84de31bf2240e31b75243431544ba0b463fd164a..44a0196df419f39d5e91f98489a4bb68f5dd15e4 100644
|
| --- a/Source/bindings/v8/V8WindowShell.cpp
|
| +++ b/Source/bindings/v8/V8WindowShell.cpp
|
| @@ -242,7 +242,7 @@ bool V8WindowShell::initialize()
|
| if (m_frame->document()) {
|
| setSecurityToken(m_frame->document()->securityOrigin());
|
| ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy();
|
| - context->AllowCodeGenerationFromStrings(csp->allowScriptEval(0, ContentSecurityPolicy::SuppressReport));
|
| + context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport));
|
| context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, csp->evalDisabledErrorMessage()));
|
| }
|
| } else {
|
|
|