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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 328823002: Don't fetch histograms from the same process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | content/browser/histogram_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 276253)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -348,6 +348,8 @@
base::Bind(base::IgnoreResult(&GpuProcessHostUIShim::Create), host_id));
process_.reset(new BrowserChildProcessHostImpl(PROCESS_TYPE_GPU, this));
+ if (in_process_)
+ process_->SetHandle(base::GetCurrentProcessHandle());
piman 2014/06/11 19:46:35 Seems iffy... It will have side effects in other p
Alexei Svitkine (slow) 2014/06/11 19:52:28 I'm okay with that solution too. We can expand the
piman 2014/06/12 17:20:30 Yes... I think the BrowserChildProcessHost's handl
}
GpuProcessHost::~GpuProcessHost() {
« no previous file with comments | « no previous file | content/browser/histogram_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698