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

Unified Diff: Source/core/dom/IdTargetObserverRegistry.h

Issue 145353004: Build HTMLFormElement::m_associatedElements lazily (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix crash Created 6 years, 11 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
« no previous file with comments | « LayoutTests/fast/forms/form-associated-element.html ('k') | Source/core/dom/IdTargetObserverRegistry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/IdTargetObserverRegistry.h
diff --git a/Source/core/dom/IdTargetObserverRegistry.h b/Source/core/dom/IdTargetObserverRegistry.h
index 4af563a853c6e5de171cd3d460f46d738f4d8842..b60af6909a309b76e4ab7c026baa6da445442bdf 100644
--- a/Source/core/dom/IdTargetObserverRegistry.h
+++ b/Source/core/dom/IdTargetObserverRegistry.h
@@ -42,6 +42,7 @@ class IdTargetObserverRegistry {
public:
static PassOwnPtr<IdTargetObserverRegistry> create();
void notifyObservers(const AtomicString& id);
+ bool hasObservers(const AtomicString& id) const;
private:
IdTargetObserverRegistry() : m_notifyingObserversInSet(0) { }
« no previous file with comments | « LayoutTests/fast/forms/form-associated-element.html ('k') | Source/core/dom/IdTargetObserverRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698