Index: ui/gfx/android/java_bitmap.h |
diff --git a/ui/gfx/android/java_bitmap.h b/ui/gfx/android/java_bitmap.h |
index cb1077d73e2ca49f6c8af26c8a107bda67398d6c..1ec31136ef7d397a5e9d2cadf55c1fab9fe35d12 100644 |
--- a/ui/gfx/android/java_bitmap.h |
+++ b/ui/gfx/android/java_bitmap.h |
@@ -62,6 +62,10 @@ GFX_EXPORT SkBitmap CreateSkBitmapFromResource(const char* name, |
// Returns a Skia config value for the requested input java Bitmap.Config. |
GFX_EXPORT SkBitmap::Config ConvertToSkiaConfig(jobject bitmap_config); |
+// Returns the java Bitmap.Config for the requested skia config value. |
+GFX_EXPORT base::android::ScopedJavaLocalRef<jobject> ConvertToJavaBitmapConfig( |
bulach
2014/02/28 13:19:25
I think we can get away without this method.
sivag
2014/03/04 12:36:04
Moved it to a file level static method
sivag
2014/03/04 12:36:04
Done.
|
+ SkBitmap::Config bitmap_config); |
+ |
} // namespace gfx |
#endif // UI_GFX_ANDROID_JAVA_BITMAP_H_ |