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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: 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/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 {

Powered by Google App Engine
This is Rietveld 408576698