Index: ui/gl/gl_surface.cc |
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc |
index a05eae85e3de3d4fc7afd0a64123bd80a9c28eec..16e4356c541b2aaf6067bd45bd5d429c1791e95f 100644 |
--- a/ui/gl/gl_surface.cc |
+++ b/ui/gl/gl_surface.cc |
@@ -147,6 +147,12 @@ unsigned GLSurface::GetFormat() { |
return 0; |
} |
+bool GLSurface::GetSyncValues(int64* monotonicTime, |
+ int64* mediaStreamCounter, |
+ int64* swapBufferCounter) { |
+ return false; |
+} |
+ |
GLSurface* GLSurface::GetCurrent() { |
return current_surface_.Pointer()->Get(); |
} |
@@ -251,6 +257,13 @@ unsigned GLSurfaceAdapter::GetFormat() { |
return surface_->GetFormat(); |
} |
+bool GLSurfaceAdapter::GetSyncValues(int64* monotonicTime, |
+ int64* mediaStreamCounter, |
+ int64* swapBufferCounter) { |
+ return surface_->GetSyncValues(monotonicTime, mediaStreamCounter, |
+ swapBufferCounter); |
+} |
+ |
GLSurfaceAdapter::~GLSurfaceAdapter() {} |
} // namespace gfx |