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

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

Issue 17074009: Created multi-process-friendly PowerMonitor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Killing Nits Created 7 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/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 7bf6292479864a22c1d37ecee7d5af3f4451301f..003e31b96e536fa665eea0a975ef7c4616ab2595 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -440,7 +440,8 @@ GpuProcessHost::GpuProcessHost(int host_id, GpuProcessKind kind)
BrowserThread::PostTask(
BrowserThread::UI,
FROM_HERE,
- base::Bind(base::IgnoreResult(&GpuProcessHostUIShim::Create), host_id));
+ base::Bind(base::IgnoreResult(&GpuProcessHostUIShim::Create),
+ host_id, in_process_));
process_.reset(new BrowserChildProcessHostImpl(PROCESS_TYPE_GPU, this));
}

Powered by Google App Engine
This is Rietveld 408576698