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

Unified Diff: ui/ozone/platform/caca/caca_surface_factory.cc

Issue 361643002: setConfig is deprecated, use setInfo or allocPixels instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't call allocPixels+rowbytes yet (skia bug) 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 | « ui/native_theme/native_theme_win.cc ('k') | ui/ozone/platform/dri/dri_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/caca/caca_surface_factory.cc
diff --git a/ui/ozone/platform/caca/caca_surface_factory.cc b/ui/ozone/platform/caca/caca_surface_factory.cc
index 58b5e640c9021633c83d02d0ab69e4ea4ed5c507..1535d49631bf3a1cef30b4fd068091c7b728248d 100644
--- a/ui/ozone/platform/caca/caca_surface_factory.cc
+++ b/ui/ozone/platform/caca/caca_surface_factory.cc
@@ -51,7 +51,7 @@ CacaSurface::~CacaSurface() {
bool CacaSurface::Initialize() {
SkImageInfo info = SkImageInfo::Make(connection_->bitmap_size().width(),
connection_->bitmap_size().height(),
- kPMColor_SkColorType,
+ kN32_SkColorType,
kPremul_SkAlphaType);
surface_ = skia::AdoptRef(SkSurface::NewRaster(info));
« no previous file with comments | « ui/native_theme/native_theme_win.cc ('k') | ui/ozone/platform/dri/dri_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698