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

Unified Diff: ui/ozone/ozone_platform_list.h

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ui/ozone/ozone_platform_list.h
diff --git a/ui/ozone/ozone_platform_list.h b/ui/ozone/ozone_platform_list.h
index 2689c259125cc5af453bd6ef4bf77b65b8585452..1a6e6e94d95aab230294475ec645ea8ac30c9df4 100644
--- a/ui/ozone/ozone_platform_list.h
+++ b/ui/ozone/ozone_platform_list.h
@@ -13,7 +13,8 @@ typedef OzonePlatform* (*OzonePlatformConstructor)();
struct OzonePlatformListEntry {
const char* name;
- OzonePlatformConstructor constructor;
+ OzonePlatformConstructor ConstructorForUI;
+ OzonePlatformConstructor ConstructorForGPU;
};
extern const OzonePlatformListEntry kOzonePlatforms[];

Powered by Google App Engine
This is Rietveld 408576698