diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 17:30:16 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-08 17:30:16 +0000 |
commit | d1aed1f5d4a59371b0b041884089745d65b29cf3 (patch) | |
tree | 9911b54f322194a0588763167d9d0820725e11be /webkit/glue/devtools/dom_agent_impl.h | |
parent | 54d8d45198e73c705030f2bb9cb67d91808141e6 (diff) | |
download | chromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.zip chromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.tar.gz chromium_src-d1aed1f5d4a59371b0b041884089745d65b29cf3.tar.bz2 |
DevTools: Fix errors found during dogfooding.
Review URL: http://codereview.chromium.org/62152
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/devtools/dom_agent_impl.h')
-rw-r--r-- | webkit/glue/devtools/dom_agent_impl.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/webkit/glue/devtools/dom_agent_impl.h b/webkit/glue/devtools/dom_agent_impl.h index 88a251c..9c1bfc0 100644 --- a/webkit/glue/devtools/dom_agent_impl.h +++ b/webkit/glue/devtools/dom_agent_impl.h @@ -55,11 +55,7 @@ class DomAgentImpl : public DomAgent { void DiscardBindings(); // Initializes dom agent with the given document. - // 'loaded' must be set to true iff main resource has been loaded - // and document has been parsed. Otherwise, 'loaded' should be - // false. DomAgent will then add itself as a listener to the - // DOMContentLoaded event and will track document loading by itself. - void SetDocument(WebCore::Document* document, bool loaded); + void SetDocument(WebCore::Document* document); // Returns node for given id according to the present binding. WebCore::Node* GetNodeForId(int id); @@ -146,7 +142,6 @@ class DomAgentImpl : public DomAgent { HashSet<int> children_requested_; int last_node_id_; ListHashSet<RefPtr<WebCore::Document> > documents_; - HashSet<RefPtr<WebCore::Document> > loaded_documents_; RefPtr<WebCore::EventListener> event_listener_; // Captures pending document element request's call id. // Defaults to 0 meaning no pending request. |