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

Unified Diff: third_party/WebKit/Source/core/html/HTMLDocument.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/html/HTMLDocument.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLDocument.cpp b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
index 449520204ce2f47d948c0cbbe6894cdd9f309cf3..67793a7362d1afb35df7437aa73689082959a469 100644
--- a/third_party/WebKit/Source/core/html/HTMLDocument.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLDocument.cpp
@@ -154,7 +154,7 @@ void HTMLDocument::AddItemToMap(HashCountedSet<AtomicString>& map,
return;
map.insert(name);
if (LocalFrame* f = GetFrame()) {
- f->Script()
+ f->GetScriptController()
.WindowProxy(DOMWrapperWorld::MainWorld())
->NamedItemAdded(this, name);
}
@@ -166,7 +166,7 @@ void HTMLDocument::RemoveItemFromMap(HashCountedSet<AtomicString>& map,
return;
map.erase(name);
if (LocalFrame* f = GetFrame()) {
- f->Script()
+ f->GetScriptController()
.WindowProxy(DOMWrapperWorld::MainWorld())
->NamedItemRemoved(this, name);
}

Powered by Google App Engine
This is Rietveld 408576698