Commit ca49bcfa authored by jamesr@chromium.org's avatar jamesr@chromium.org

This patch changes the call to enableResourceTracking on InspectorController...

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
parent 28658b28
...@@ -278,7 +278,7 @@ void WebDevToolsAgentImpl::setApuAgentEnabled(bool enable) { ...@@ -278,7 +278,7 @@ void WebDevToolsAgentImpl::setApuAgentEnabled(bool enable) {
if (!resource_tracking_was_enabled_) { if (!resource_tracking_was_enabled_) {
// TODO(knorton): Introduce some kind of agents dependency here so that // TODO(knorton): Introduce some kind of agents dependency here so that
// user could turn off resource tracking while apu agent is on. // user could turn off resource tracking while apu agent is on.
ic->enableResourceTracking(false); ic->enableResourceTracking(false, false);
} }
} else { } else {
ic->stopTimelineProfiler(); ic->stopTimelineProfiler();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment