summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdevtoolsagent_impl.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 17:30:16 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-08 17:30:16 +0000
commitd1aed1f5d4a59371b0b041884089745d65b29cf3 (patch)
tree9911b54f322194a0588763167d9d0820725e11be /webkit/glue/webdevtoolsagent_impl.cc
parent54d8d45198e73c705030f2bb9cb67d91808141e6 (diff)
downloadchromium_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/webdevtoolsagent_impl.cc')
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc
index e5cf8ad..4a6201f 100644
--- a/webkit/glue/webdevtoolsagent_impl.cc
+++ b/webkit/glue/webdevtoolsagent_impl.cc
@@ -71,7 +71,7 @@ void WebDevToolsAgentImpl::Attach() {
Document* doc = page->mainFrame()->document();
if (doc) {
debugger_agent_impl_->SetDocument(doc);
- dom_agent_impl_->SetDocument(doc, true);
+ dom_agent_impl_->SetDocument(doc);
net_agent_impl_->SetDocument(doc);
}
@@ -108,7 +108,7 @@ void WebDevToolsAgentImpl::SetMainFrameDocumentReady(bool ready) {
doc = NULL;
}
debugger_agent_impl_->SetDocument(doc);
- dom_agent_impl_->SetDocument(doc, false);
+ dom_agent_impl_->SetDocument(doc);
net_agent_impl_->SetDocument(doc);
}