| Index: third_party/WebKit/Source/core/dom/StyleElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/StyleElement.cpp b/third_party/WebKit/Source/core/dom/StyleElement.cpp
|
| index a12a197a42870420f7e94dfa931a62c5f0578f6d..558fcbab6f7af3d2e98f6870e4a29dfc7113282d 100644
|
| --- a/third_party/WebKit/Source/core/dom/StyleElement.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/StyleElement.cpp
|
| @@ -120,7 +120,7 @@ void StyleElement::ClearSheet(Element& owner_element) {
|
| static bool ShouldBypassMainWorldCSP(const Element& element) {
|
| // Main world CSP is bypassed within an isolated world.
|
| LocalFrame* frame = element.GetDocument().GetFrame();
|
| - if (frame && frame->Script().ShouldBypassMainWorldCSP())
|
| + if (frame && frame->GetScriptController().ShouldBypassMainWorldCSP())
|
| return true;
|
|
|
| // Main world CSP is bypassed for style elements in user agent shadow DOM.
|
|
|