| Index: ui/gfx/android/java_bitmap.h
|
| diff --git a/ui/gfx/android/java_bitmap.h b/ui/gfx/android/java_bitmap.h
|
| index 9d1e4432cb7dcafaed425e7b20159b82875f3b31..29261181a9812446c3894b33d24e2d74430883fd 100644
|
| --- a/ui/gfx/android/java_bitmap.h
|
| +++ b/ui/gfx/android/java_bitmap.h
|
| @@ -8,10 +8,9 @@
|
| #include <jni.h>
|
|
|
| #include "base/android/scoped_java_ref.h"
|
| +#include "third_party/skia/include/core/SkBitmap.h"
|
| #include "ui/gfx/size.h"
|
|
|
| -class SkBitmap;
|
| -
|
| namespace gfx {
|
|
|
| // This class wraps a JNI AndroidBitmap object to make it easier to use. It
|
| @@ -50,6 +49,8 @@ GFX_EXPORT SkBitmap CreateSkBitmapFromJavaBitmap(JavaBitmap& jbitmap);
|
| // Note: If the source resource is smaller than |size|, quality may suffer.
|
| GFX_EXPORT SkBitmap CreateSkBitmapFromResource(const char* name,
|
| gfx::Size size);
|
| +GFX_EXPORT SkBitmap::Config ToSkiaBitmapConfig(JNIEnv* env,
|
| + jobject bitmap_config);
|
|
|
| } // namespace gfx
|
|
|
|
|