Index: ui/gfx/ozone/impl/file_surface_factory.cc |
diff --git a/ui/gfx/ozone/impl/file_surface_factory.cc b/ui/gfx/ozone/impl/file_surface_factory.cc |
index 646d1b7eb61d93cfd805cb1ed3026da580af5c8c..ca7dfaffc08abbb8b88ac7e52808fa457e96fdbf 100644 |
--- a/ui/gfx/ozone/impl/file_surface_factory.cc |
+++ b/ui/gfx/ozone/impl/file_surface_factory.cc |
@@ -45,7 +45,7 @@ class FileSurface : public SurfaceOzoneCanvas { |
} |
virtual void PresentCanvas(const gfx::Rect& damage) OVERRIDE { |
SkBitmap bitmap; |
- bitmap.setConfig(surface_->getCanvas()->imageInfo()); |
+ bitmap.setInfo(surface_->getCanvas()->imageInfo()); |
// TODO(dnicoara) Use SkImage instead to potentially avoid a copy. |
// See crbug.com/361605 for details. |