Index: content/browser/gpu/browser_gpu_channel_host_factory.cc |
diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
index fea661a4084ac07a158f20fe162574be2613ce8c..d938b4ba918b5842724a382ad62b3573ca42c26b 100644 |
--- a/content/browser/gpu/browser_gpu_channel_host_factory.cc |
+++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc |
@@ -420,6 +420,11 @@ void BrowserGpuChannelHostFactory::GpuChannelEstablished() { |
if (pending_request_->channel_handle().name.empty()) { |
DCHECK(!gpu_channel_.get()); |
} else { |
+ // TODO(robliao): Remove ScopedTracker below once https://crbug.com/466866 |
+ // is fixed. |
+ tracked_objects::ScopedTracker tracking_profile1( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "466866 BrowserGpuChannelHostFactory::GpuChannelEstablished1")); |
GetContentClient()->SetGpuInfo(pending_request_->gpu_info()); |
gpu_channel_ = |
GpuChannelHost::Create(this, |
@@ -431,6 +436,12 @@ void BrowserGpuChannelHostFactory::GpuChannelEstablished() { |
gpu_host_id_ = pending_request_->gpu_host_id(); |
pending_request_ = NULL; |
+ // TODO(robliao): Remove ScopedTracker below once https://crbug.com/466866 is |
+ // fixed. |
+ tracked_objects::ScopedTracker tracking_profile2( |
+ FROM_HERE_WITH_EXPLICIT_FUNCTION( |
+ "466866 BrowserGpuChannelHostFactory::GpuChannelEstablished2")); |
+ |
for (size_t n = 0; n < established_callbacks_.size(); n++) |
established_callbacks_[n].Run(); |