Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: ui/gfx/android/java_bitmap.cc

Issue 11886074: Use correct favicon scale factor on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split DeviceTelephonyInfo from DeviceDisplayInfo; added SCALE_FACTOR_150P and 300P. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/gfx/android/java_bitmap.cc
diff --git a/ui/gfx/android/java_bitmap.cc b/ui/gfx/android/java_bitmap.cc
index a0aff14f6fcabc80d0447f6e50dbe5dc5d884783..a19a000fb71844cc259dcd33e5557d3b2303e59a 100644
--- a/ui/gfx/android/java_bitmap.cc
+++ b/ui/gfx/android/java_bitmap.cc
@@ -35,8 +35,9 @@ JavaBitmap::~JavaBitmap() {
DCHECK(!err);
}
-void RegisterBitmapAndroid(JNIEnv* env) {
- ui::RegisterNativesImpl(env);
+// static
+bool JavaBitmap::RegisterJavaBitmap(JNIEnv* env) {
+ return ui::RegisterNativesImpl(env);
}
ScopedJavaLocalRef<jobject> CreateJavaBitmap(const gfx::Size& size) {
« ui/base/layout.cc ('K') | « ui/gfx/android/java_bitmap.h ('k') | ui/gfx/screen_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698