Commit 9ff80866 authored by reed@google.com's avatar reed@google.com

use non-deprecated version of installPixels

Allows skia to remove SK_SUPPORT_LEGACY_INSTALLPIXELSPARAMS

NOTRY=True
failures unrelated to this CL

Review URL: https://codereview.chromium.org/308833004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274337 0039d316-1c4b-4281-b951-d872f2087c98
parent 403d0eac
...@@ -40,6 +40,7 @@ bool InstallCairoSurfacePixels(SkBitmap* dst, ...@@ -40,6 +40,7 @@ bool InstallCairoSurfacePixels(SkBitmap* dst,
return dst->installPixels(info, return dst->installPixels(info,
cairo_image_surface_get_data(surface), cairo_image_surface_get_data(surface),
cairo_image_surface_get_stride(surface), cairo_image_surface_get_stride(surface),
NULL,
&CairoSurfaceReleaseProc, &CairoSurfaceReleaseProc,
static_cast<void*>(surface)); static_cast<void*>(surface));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment