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

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

Issue 347803002: ozone: caca: Fix compile (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/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 bb8c3d93f3bd2eed8199d61545f1161a5492b559..e8988d66612c34e40fac1e87dccfd24892c0b81a 100644
--- a/ui/ozone/platform/caca/caca_surface_factory.cc
+++ b/ui/ozone/platform/caca/caca_surface_factory.cc
@@ -64,7 +64,7 @@ bool CacaSurface::Initialize() {
info.bytesPerPixel() * 8,
info.width(),
info.height(),
- SkBitmap::ComputeRowBytes(SkBitmap::kARGB_8888_Config, info.width()),
+ info.minRowBytes(),
0x00ff0000,
0x0000ff00,
0x000000ff,
« 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