| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 49364b1931cb671dded685d71bb0bffb12ffe968..73771b4c0c1e432d5941cef48839c71c3582bc8d 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3484,7 +3484,7 @@ void Document::DisableEval(const String& error_message) {
|
| if (!GetFrame())
|
| return;
|
|
|
| - GetFrame()->Script().DisableEval(error_message);
|
| + GetFrame()->GetScriptController().DisableEval(error_message);
|
| }
|
|
|
| void Document::DidLoadAllImports() {
|
| @@ -4758,7 +4758,7 @@ void Document::setDomain(const String& raw_domain,
|
| if (View() && (was_cross_domain != frame_->IsCrossOriginSubframe()))
|
| View()->CrossOriginStatusChanged();
|
|
|
| - frame_->Script().UpdateSecurityOrigin(GetSecurityOrigin());
|
| + frame_->GetScriptController().UpdateSecurityOrigin(GetSecurityOrigin());
|
| }
|
| }
|
|
|
| @@ -5742,7 +5742,7 @@ String Document::suborigin() const {
|
| void Document::DidUpdateSecurityOrigin() {
|
| if (!frame_)
|
| return;
|
| - frame_->Script().UpdateSecurityOrigin(GetSecurityOrigin());
|
| + frame_->GetScriptController().UpdateSecurityOrigin(GetSecurityOrigin());
|
| }
|
|
|
| bool Document::IsContextThread() const {
|
|
|