| 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 =
|
|
|