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

Unified Diff: third_party/WebKit/Source/core/xml/DocumentXSLT.cpp

Issue 2796653003: Move ScriptState::forWorld/ScriptState::forMainWorld (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
diff --git a/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp b/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
index fea91a794a8934d57431eced0e87370062d93c23..8845afcd0bfd98afaeb5ef7554b56862fe7a5089 100644
--- a/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
+++ b/third_party/WebKit/Source/core/xml/DocumentXSLT.cpp
@@ -132,7 +132,7 @@ bool DocumentXSLT::processingInstructionInsertedIntoDocument(
if (!RuntimeEnabledFeatures::xsltEnabled() || !document.frame())
return true;
- ScriptState* scriptState = ScriptState::forMainWorld(document.frame());
+ ScriptState* scriptState = toScriptStateForMainWorld(document.frame());
if (!scriptState)
return false;
DOMContentLoadedListener* listener =

Powered by Google App Engine
This is Rietveld 408576698