| 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);
|
| }
|
|
|