summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 00:03:46 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-28 00:03:46 +0000
commitca49bcfa3d8e655597a63e018dda670d5586bff7 (patch)
treeea6229e0d0ae2b71cbbbca845c373bd3c7014b80
parent28658b28eea506af35897723adb7c69e67327351 (diff)
downloadchromium_src-ca49bcfa3d8e655597a63e018dda670d5586bff7.zip
chromium_src-ca49bcfa3d8e655597a63e018dda670d5586bff7.tar.gz
chromium_src-ca49bcfa3d8e655597a63e018dda670d5586bff7.tar.bz2
This patch changes the call to enableResourceTracking on InspectorController to not trigger a page reload in the enabling of the APU agent.
Patch by Jaime Yap (jaimeyap@google.com) TEST=none BUG=none Review URL: http://codereview.chromium.org/334022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30288 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/glue/webdevtoolsagent_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webdevtoolsagent_impl.cc b/webkit/glue/webdevtoolsagent_impl.cc
index ae320c5..32ffc35 100644
--- a/webkit/glue/webdevtoolsagent_impl.cc
+++ b/webkit/glue/webdevtoolsagent_impl.cc
@@ -278,7 +278,7 @@ void WebDevToolsAgentImpl::setApuAgentEnabled(bool enable) {
if (!resource_tracking_was_enabled_) {
// TODO(knorton): Introduce some kind of agents dependency here so that
// user could turn off resource tracking while apu agent is on.
- ic->enableResourceTracking(false);
+ ic->enableResourceTracking(false, false);
}
} else {
ic->stopTimelineProfiler();