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

Unified Diff: ui/ozone/platform/egltest/ozone_platform_egltest.cc

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/platform/egltest/ozone_platform_egltest.cc
diff --git a/ui/ozone/platform/egltest/ozone_platform_egltest.cc b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
index 579aa683db89835a7dcc859423099677188bf8cf..07b639edb4e7630816a012184c2b980c85a6a434 100644
--- a/ui/ozone/platform/egltest/ozone_platform_egltest.cc
+++ b/ui/ozone/platform/egltest/ozone_platform_egltest.cc
@@ -269,10 +269,14 @@ class OzonePlatformEgltest : public OzonePlatform {
} // namespace
-OzonePlatform* CreateOzonePlatformEgltest() {
+OzonePlatform* CreateOzonePlatformEgltestForUI() {
OzonePlatformEgltest* platform = new OzonePlatformEgltest;
platform->Initialize();
return platform;
}
+OzonePlatform* CreateOzonePlatformEgltestForGPU() {
+ return NULL;
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698