From f0b56e74485d59465194b21f89fa3bc3a7962ac6 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 13 Jan 2014 20:28:50 +0000 Subject: Revert "Revert of https://codereview.chromium.org/129423002/" fixed new api references in unit tests This reverts commit ffc0058e1fbcbd69617e1f41b2dce5b5765ff99e. BUG= Review URL: https://codereview.chromium.org/132643007 git-svn-id: http://skia.googlecode.com/svn/trunk@13057 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/image/SkImagePriv.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/image/SkImagePriv.h') diff --git a/src/image/SkImagePriv.h b/src/image/SkImagePriv.h index 7c19c734c2..2812a8f72d 100644 --- a/src/image/SkImagePriv.h +++ b/src/image/SkImagePriv.h @@ -18,8 +18,7 @@ extern SkBitmap::Config SkColorTypeToBitmapConfig(SkColorType); extern bool SkBitmapConfigToColorType(SkBitmap::Config, SkColorType* ctOut); // Call this if you explicitly want to use/share this pixelRef in the image -extern SkImage* SkNewImageFromPixelRef(const SkImageInfo&, SkPixelRef*, - size_t rowBytes); +extern SkImage* SkNewImageFromPixelRef(SkPixelRef*); /** * Examines the bitmap to decide if it can share the existing pixelRef, or -- cgit v1.2.3