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

Unified Diff: ui/ozone/platform/cast/ozone_platform_cast.cc

Issue 1208603002: content: implement unittests backend for Ozone GBM Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix NavigationControllerTest failure Created 5 years, 6 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/cast/ozone_platform_cast.cc
diff --git a/ui/ozone/platform/cast/ozone_platform_cast.cc b/ui/ozone/platform/cast/ozone_platform_cast.cc
index 60f7c9a901220a23d2ed3f2662da1cdb6a714211..2b0705561d85f44ccd07fb718f1d5355fc93f9f3 100644
--- a/ui/ozone/platform/cast/ozone_platform_cast.cc
+++ b/ui/ozone/platform/cast/ozone_platform_cast.cc
@@ -80,6 +80,11 @@ class OzonePlatformCast : public OzonePlatform {
new GpuPlatformSupportCast(surface_factory_.get()));
}
+ void InitializeTest() override {
+ InitializeUI();
+ InitializeGPU();
+ }
+
private:
scoped_ptr<CastEglPlatform> egl_platform_;
scoped_ptr<SurfaceFactoryCast> surface_factory_;

Powered by Google App Engine
This is Rietveld 408576698