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

Unified Diff: ui/gfx/ozone/impl/software_surface_ozone_unittest.cc

Issue 26849004: [Ozone] Adding a software rendering implementation of SurfaceFactoryOzone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated SSO unittest Created 7 years, 2 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/gfx/ozone/impl/software_surface_factory_ozone.cc ('k') | ui/gfx/ozone/surface_factory_ozone.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/ozone/impl/software_surface_ozone_unittest.cc
diff --git a/ui/gfx/ozone/impl/software_surface_ozone_unittest.cc b/ui/gfx/ozone/impl/software_surface_ozone_unittest.cc
index 02226023e48d7cd1df75579cd671d25abdd782fa..8f709cd95c8e961c31f0397dd113cd48f1699f8b 100644
--- a/ui/gfx/ozone/impl/software_surface_ozone_unittest.cc
+++ b/ui/gfx/ozone/impl/software_surface_ozone_unittest.cc
@@ -149,7 +149,8 @@ TEST_F(SoftwareSurfaceOzoneTest, SuccessfulInitialization) {
TEST_F(SoftwareSurfaceOzoneTest, CheckFBIDOnSwap) {
EXPECT_TRUE(surface_->Initialize());
- controller_->BindSurfaceToController(surface_.release());
+ controller_->BindSurfaceToController(
+ surface_.PassAs<gfx::SoftwareSurfaceOzone>());
// Check that the framebuffer ID is correct.
EXPECT_EQ(2u, controller_->get_surface()->GetFramebufferId());
« no previous file with comments | « ui/gfx/ozone/impl/software_surface_factory_ozone.cc ('k') | ui/gfx/ozone/surface_factory_ozone.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698