Index: ui/ozone/platform/dri/dri_surface.cc |
diff --git a/ui/ozone/platform/dri/dri_surface.cc b/ui/ozone/platform/dri/dri_surface.cc |
index 6b296cc2a7ed32a1faca1cb3b9faef28993525e9..d6b4f5996b27a4b838c1ee240275f324bab2055b 100644 |
--- a/ui/ozone/platform/dri/dri_surface.cc |
+++ b/ui/ozone/platform/dri/dri_surface.cc |
@@ -66,6 +66,10 @@ void DriSurface::SwapBuffers() { |
front_buffer_ ^= 1; |
} |
+gfx::Size DriSurface::Size() const { |
+ return size_; |
+} |
+ |
SkCanvas* DriSurface::GetDrawableForWidget() { |
CHECK(backbuffer()); |
return backbuffer()->canvas(); |