Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/external_tab_container_win.cc

Issue 6551019: Trace_event upgrades (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More gooder js thanks to arv. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/external_tab_container_win.cc
diff --git a/chrome/browser/external_tab_container_win.cc b/chrome/browser/external_tab_container_win.cc
index d5f7a7c537ad78c7a76141243765a90e79757af2..1e9c0332012d557a29c2cefee4cf6945d2de4692 100644
--- a/chrome/browser/external_tab_container_win.cc
+++ b/chrome/browser/external_tab_container_win.cc
@@ -734,8 +734,8 @@ void ExternalTabContainer::Observe(NotificationType type,
const LoadNotificationDetails* load =
Details<LoadNotificationDetails>(details).ptr();
if (load != NULL && PageTransition::IsMainFrame(load->origin())) {
- TRACE_EVENT_END("ExternalTabContainer::Navigate", 0,
- load->url().spec());
+ TRACE_EVENT_END_LEGACY("ExternalTabContainer::Navigate", 0,
+ load->url().spec().c_str());
automation_->Send(new AutomationMsg_TabLoaded(tab_handle_,
load->url()));
}
@@ -990,7 +990,8 @@ void ExternalTabContainer::Navigate(const GURL& url, const GURL& referrer) {
return;
}
- TRACE_EVENT_BEGIN("ExternalTabContainer::Navigate", 0, url.spec());
+ TRACE_EVENT_BEGIN_LEGACY("ExternalTabContainer::Navigate", 0,
+ url.spec().c_str());
tab_contents_->controller().LoadURL(url, referrer,
PageTransition::START_PAGE);

Powered by Google App Engine
This is Rietveld 408576698