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 cc13db413d8da787167d8b547daf18a7799fd290..f3a16be1f5586eb3d003a96b504d7e95548aa0d3 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLDocument.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLDocument.cpp |
@@ -170,8 +170,6 @@ void HTMLDocument::addItemToMap(HashCountedSet<AtomicString>& map, const AtomicS |
if (name.isEmpty()) |
return; |
map.add(name); |
- if (LocalFrame* f = frame()) |
- f->script().namedItemAdded(this, name); |
} |
void HTMLDocument::removeItemFromMap(HashCountedSet<AtomicString>& map, const AtomicString& name) |
@@ -179,8 +177,6 @@ void HTMLDocument::removeItemFromMap(HashCountedSet<AtomicString>& map, const At |
if (name.isEmpty()) |
return; |
map.remove(name); |
- if (LocalFrame* f = frame()) |
- f->script().namedItemRemoved(this, name); |
} |
void HTMLDocument::addNamedItem(const AtomicString& name) |