Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: ui/gfx/ozone/impl/file_surface_factory.cc

Issue 328763002: [Ozone] Fixed Skia call (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698