diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 00:03:46 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-28 00:03:46 +0000 |
commit | ca49bcfa3d8e655597a63e018dda670d5586bff7 (patch) | |
tree | ea6229e0d0ae2b71cbbbca845c373bd3c7014b80 | |
parent | 28658b28eea506af35897723adb7c69e67327351 (diff) | |
download | chromium_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.cc | 2 |
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(); |