summaryrefslogtreecommitdiffstats
path: root/ui/ozone
diff options
context:
space:
mode:
authorspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-19 15:29:25 +0000
committerspang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-19 15:29:25 +0000
commite1990cb63aa0c3bdf81373d90bc25a9616447fad (patch)
treea3b63b90bff3464d4dfdf7715266d53f171057d9 /ui/ozone
parent06d02b11b0bf54ea3a5ab9735626367607e5f122 (diff)
downloadchromium_src-e1990cb63aa0c3bdf81373d90bc25a9616447fad.zip
chromium_src-e1990cb63aa0c3bdf81373d90bc25a9616447fad.tar.gz
chromium_src-e1990cb63aa0c3bdf81373d90bc25a9616447fad.tar.bz2
ozone: caca: Fix compile
TBR=dnicoara NOTRY=true BUG= Review URL: https://codereview.chromium.org/347803002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ozone')
-rw-r--r--ui/ozone/platform/caca/caca_surface_factory.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ozone/platform/caca/caca_surface_factory.cc b/ui/ozone/platform/caca/caca_surface_factory.cc
index bb8c3d9..e8988d6 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,