Index: ui/ozone/public/surface_factory_ozone.cc |
diff --git a/ui/ozone/public/surface_factory_ozone.cc b/ui/ozone/public/surface_factory_ozone.cc |
index 9d33be43524b2952e1a518660a89edd7485f9985..bbbc8b532d1a5854f05e6f2582dfda5a1f6dc463 100644 |
--- a/ui/ozone/public/surface_factory_ozone.cc |
+++ b/ui/ozone/public/surface_factory_ozone.cc |
@@ -56,20 +56,13 @@ ui::OverlayCandidatesOzone* SurfaceFactoryOzone::GetOverlayCandidates( |
return NULL; |
} |
-void SurfaceFactoryOzone::ScheduleOverlayPlane( |
- gfx::AcceleratedWidget w, |
- int plane_z_order, |
- gfx::OverlayTransform plane_transform, |
- ui::NativeBufferOzone buffer, |
- const gfx::Rect& display_bounds, |
- gfx::RectF crop_rect) { |
- NOTREACHED(); |
-} |
- |
-ui::NativeBufferOzone SurfaceFactoryOzone::CreateNativeBuffer( |
+scoped_refptr<ui::NativePixmap> SurfaceFactoryOzone::CreateNativeBuffer( |
gfx::Size size, |
BufferFormat format) { |
- return 0; |
+ return NULL; |
} |
+bool SurfaceFactoryOzone::CanShowPrimaryPlaneAsOverlay() { |
+ return false; |
+} |
} // namespace ui |