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

Unified Diff: content/gpu/gpu_child_thread.h

Issue 1753383003: Get rid of gpu related switches by passing gpu::GpuPreferences via IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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 | « content/content_browser.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.h
diff --git a/content/gpu/gpu_child_thread.h b/content/gpu/gpu_child_thread.h
index ec7d19edc993e7a7d1c98e9b94affa5c3c2860ad..80a24127f02b3d571b2e84a9272658c18d36b1b9 100644
--- a/content/gpu/gpu_child_thread.h
+++ b/content/gpu/gpu_child_thread.h
@@ -71,8 +71,6 @@ class GpuChildThread : public ChildThreadImpl,
void Init(const base::Time& process_start_time);
void StopWatchdog();
- static gpu::GpuPreferences GetGpuPreferencesFromCommandLine();
-
private:
// ChildThread overrides.
bool Send(IPC::Message* msg) override;
@@ -103,7 +101,7 @@ class GpuChildThread : public ChildThreadImpl,
const std::string& shader) override;
// Message handlers.
- void OnInitialize();
+ void OnInitialize(const gpu::GpuPreferences& gpu_preferences);
void OnFinalize();
void OnCollectGraphicsInfo();
void OnGetVideoMemoryUsageStats();
« no previous file with comments | « content/content_browser.gypi ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698