Index: Source/core/html/HTMLDocument.cpp |
diff --git a/Source/core/html/HTMLDocument.cpp b/Source/core/html/HTMLDocument.cpp |
index 6f19a8321a350d2e6b91727ff4f39871db3186a9..39952ae77cef0917b3706411e8e115ee680b1a23 100644 |
--- a/Source/core/html/HTMLDocument.cpp |
+++ b/Source/core/html/HTMLDocument.cpp |
@@ -220,7 +220,7 @@ void HTMLDocument::addItemToMap(HashCountedSet<AtomicString>& map, const AtomicS |
return; |
map.add(name); |
if (Frame* f = frame()) |
- f->script()->namedItemAdded(this, name); |
+ f->script().namedItemAdded(this, name); |
} |
void HTMLDocument::removeItemFromMap(HashCountedSet<AtomicString>& map, const AtomicString& name) |
@@ -229,7 +229,7 @@ void HTMLDocument::removeItemFromMap(HashCountedSet<AtomicString>& map, const At |
return; |
map.remove(name); |
if (Frame* f = frame()) |
- f->script()->namedItemRemoved(this, name); |
+ f->script().namedItemRemoved(this, name); |
} |
void HTMLDocument::addNamedItem(const AtomicString& name) |