remove android legacy flags
authorMike Reed <reed@google.com>
Wed, 5 Apr 2017 14:30:54 +0000 (10:30 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 5 Apr 2017 17:45:49 +0000 (17:45 +0000)
relies on https://googleplex-android-review.git.corp.google.com/#/c/2060523/ landing first

Bug: skia:
Change-Id: I603c8e0835235e9d81bd0a5a559cb5ab5b5cfd56
Reviewed-on: https://skia-review.googlesource.com/11350
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>

gn/android_framework_defines.gni
include/core/SkBitmap.h

index dd03c9e..3447efe 100644 (file)
@@ -12,9 +12,6 @@ android_framework_defines = [
   "SK_SUPPORT_LEGACY_GRADIENT_DITHERING",
   "SK_SUPPORT_LEGACY_DRAWFILTER",
   "SK_IGNORE_GPU_DITHER",
-  "SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF",
   "SK_SUPPORT_LEGACY_SHADER_ISABITMAP",
   "SK_SUPPORT_LEGACY_EMBOSSMASKFILTER",
-  "SK_SUPPORT_LEGACY_CANVAS_VERTICES",
-  "SK_SUPPORT_LEGACY_PIXELREFFACTORY",
 ]
index d14ccda..8487d41 100644 (file)
@@ -255,11 +255,6 @@ public:
         }
     }
 
-    // TEMPORARY -- remove after updating Android BitmapTests.cpp:35
-    void allocPixels(const SkImageInfo& info, std::nullptr_t, SkColorTable* ctable) {
-        this->allocPixels(info, sk_ref_sp(ctable));
-    }
-
     /**
      *  Allocate the bitmap's pixels to match the requested image info and
      *  rowBytes. If the request cannot be met (e.g. the info is invalid or