Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: Source/WebCore/bindings/v8/V8DOMWindowShell.cpp

Issue 12087054: Revert 140611 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1397/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptProfiler.cpp ('k') | Source/WebCore/bindings/v8/V8LazyEventListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/bindings/v8/V8DOMWindowShell.cpp
===================================================================
--- Source/WebCore/bindings/v8/V8DOMWindowShell.cpp (revision 141118)
+++ Source/WebCore/bindings/v8/V8DOMWindowShell.cpp (working copy)
@@ -246,7 +246,7 @@
if (m_frame->document()) {
ContentSecurityPolicy* csp = m_frame->document()->contentSecurityPolicy();
context->AllowCodeGenerationFromStrings(csp->allowEval(0, ContentSecurityPolicy::SuppressReport));
- context->SetErrorMessageForCodeGenerationFromStrings(v8String(csp->evalDisabledErrorMessage(), m_isolate));
+ context->SetErrorMessageForCodeGenerationFromStrings(deprecatedV8String(csp->evalDisabledErrorMessage()));
}
} else {
// Using the default security token means that the canAccess is always
@@ -453,7 +453,7 @@
ASSERT(!m_document.isEmpty());
checkDocumentWrapper(m_document.get(), document);
- m_document->SetAccessor(v8String(name, m_isolate), getter);
+ m_document->SetAccessor(deprecatedV8String(name), getter);
}
void V8DOMWindowShell::namedItemRemoved(HTMLDocument* document, const AtomicString& name)
@@ -471,7 +471,7 @@
ASSERT(!m_document.isEmpty());
checkDocumentWrapper(m_document.get(), document);
- m_document->Delete(v8String(name, m_isolate));
+ m_document->Delete(deprecatedV8String(name));
}
void V8DOMWindowShell::updateSecurityOrigin()
« no previous file with comments | « Source/WebCore/bindings/v8/ScriptProfiler.cpp ('k') | Source/WebCore/bindings/v8/V8LazyEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698