Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / ui / gl / gl_surface.cc
index 31b5ab9..620cee7 100644 (file)
@@ -235,6 +235,10 @@ bool GLSurface::ScheduleOverlayPlane(int z_order,
   return false;
 }
 
+bool GLSurface::IsSurfaceless() const {
+  return false;
+}
+
 GLSurface* GLSurface::GetCurrent() {
   return current_surface_.Pointer()->Get();
 }
@@ -352,6 +356,10 @@ bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
       z_order, transform, image, bounds_rect, crop_rect);
 }
 
+bool GLSurfaceAdapter::IsSurfaceless() const {
+  return surface_->IsSurfaceless();
+}
+
 GLSurfaceAdapter::~GLSurfaceAdapter() {}
 
 }  // namespace gfx