| Index: chrome/browser/ui/tab_helpers.cc
|
| diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
|
| index 08a6d4ed0305f42bd91b3d6484a804f761df6cdd..db5d5806737f5250284d5ac619e14cbf4950a8de 100644
|
| --- a/chrome/browser/ui/tab_helpers.cc
|
| +++ b/chrome/browser/ui/tab_helpers.cc
|
| @@ -246,10 +246,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
|
| web_contents);
|
| }
|
|
|
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kEnableNavigationTracing) &&
|
| - base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| - switches::kTraceUploadURL)) {
|
| + if (tracing::NavigationTracingObserver::IsEnabled())
|
| tracing::NavigationTracingObserver::CreateForWebContents(web_contents);
|
| - }
|
| }
|
|
|