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

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 10695133: Improve GPU process URL crash reporting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: using net hash function instead of messing with hash_tables.h Created 8 years, 5 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: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index eeefa4cec71aa1bd3b349654f185590c090dff54..6a83008d186c13f66f7cb3fec6dffc1fe4fc9d9e 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -18,7 +18,6 @@
#include "content/common/gpu/gpu_channel_manager.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/common/gpu/sync_point_manager.h"
-#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
#include "gpu/command_buffer/service/mailbox_manager.h"
#include "gpu/command_buffer/service/gpu_scheduler.h"
@@ -306,7 +305,6 @@ void GpuChannel::CreateViewCommandBuffer(
surface_id);
*route_id = MSG_ROUTING_NONE;
- content::GetContentClient()->SetActiveURL(init_params.active_url);
#if defined(ENABLE_GPU)
@@ -326,7 +324,8 @@ void GpuChannel::CreateViewCommandBuffer(
*route_id,
surface_id,
watchdog_,
- software_));
+ software_,
+ init_params.active_url));
if (preempt_by_counter_.get())
stub->SetPreemptByCounter(preempt_by_counter_);
router_.AddRoute(*route_id, stub.get());
@@ -453,7 +452,6 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(
int32 route_id = MSG_ROUTING_NONE;
- content::GetContentClient()->SetActiveURL(init_params.active_url);
#if defined(ENABLE_GPU)
GpuCommandBufferStub* share_group = stubs_.Lookup(init_params.share_group_id);
@@ -471,7 +469,8 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(
init_params.gpu_preference,
route_id,
0, watchdog_,
- software_));
+ software_,
+ init_params.active_url));
if (preempt_by_counter_.get())
stub->SetPreemptByCounter(preempt_by_counter_);
router_.AddRoute(route_id, stub.get());
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698