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

Unified Diff: ui/gl/init/gl_factory_ozone.cc

Issue 2749873002: Move Ozone GPU initialization. (Closed)
Patch Set: Move to gpu_init. Created 3 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
Index: ui/gl/init/gl_factory_ozone.cc
diff --git a/ui/gl/init/gl_factory_ozone.cc b/ui/gl/init/gl_factory_ozone.cc
index 5d740f24f8e57a0ab7253258be572b0a1cdfaf56..9bd31ebc725621b53df42ebeed4bf6a9af75f62f 100644
--- a/ui/gl/init/gl_factory_ozone.cc
+++ b/ui/gl/init/gl_factory_ozone.cc
@@ -18,7 +18,7 @@ namespace gl {
namespace init {
std::vector<GLImplementation> GetAllowedGLImplementations() {
- ui::OzonePlatform::InitializeForGPU();
+ DCHECK(GetSurfaceFactoryOzone());
return GetSurfaceFactoryOzone()->GetAllowedGLImplementations();
}

Powered by Google App Engine
This is Rietveld 408576698