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

Unified Diff: ui/gfx/ozone/surface_factory_ozone.h

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r270817 Created 6 years, 7 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 | « ui/events/ozone/event_factory_ozone.cc ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/surface_factory_ozone.h
diff --git a/ui/gfx/ozone/surface_factory_ozone.h b/ui/gfx/ozone/surface_factory_ozone.h
index 9f7e72811042decaef3f23e2d452c15d014ee99e..b7eb83b3e356dd76cd7aff2571ecae7b0e462031 100644
--- a/ui/gfx/ozone/surface_factory_ozone.h
+++ b/ui/gfx/ozone/surface_factory_ozone.h
@@ -82,12 +82,9 @@ class GFX_EXPORT SurfaceFactoryOzone {
SurfaceFactoryOzone();
virtual ~SurfaceFactoryOzone();
- // Returns the instance
+ // Returns the singleton instance.
static SurfaceFactoryOzone* GetInstance();
- // Sets the implementation delegate. Ownership is retained by the caller.
- static void SetInstance(SurfaceFactoryOzone* impl);
-
// Configures the display hardware. Must be called from within the GPU
// process before the sandbox has been activated.
virtual HardwareState InitializeHardware() = 0;
« no previous file with comments | « ui/events/ozone/event_factory_ozone.cc ('k') | ui/gfx/ozone/surface_factory_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698