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

Unified Diff: ui/ozone/ozone_platform.cc

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 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/ozone/ozone_platform.h ('k') | ui/ozone/platform/caca/ozone_platform_caca.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/ozone_platform.cc
diff --git a/ui/ozone/ozone_platform.cc b/ui/ozone/ozone_platform.cc
index 53016cd05edf31327856bab14b9a113f3d9a32a8..feb36baea2a50a3db2b1d25f23b099a67a611a74 100644
--- a/ui/ozone/ozone_platform.cc
+++ b/ui/ozone/ozone_platform.cc
@@ -65,6 +65,12 @@ void OzonePlatform::Initialize() {
}
// static
+OzonePlatform* OzonePlatform::GetInstance() {
+ CHECK(instance_) << "OzonePlatform is not initialized";
+ return instance_;
+}
+
+// static
OzonePlatform* OzonePlatform::instance_;
} // namespace ui
« no previous file with comments | « ui/ozone/ozone_platform.h ('k') | ui/ozone/platform/caca/ozone_platform_caca.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698