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

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: Addressed review comments, added missing JNI registrations. 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..25b39b8a7f0fe1d684ae60c48e3a5eb73bf24a6b 100644
--- a/ui/gfx/android/java_bitmap.cc
+++ b/ui/gfx/android/java_bitmap.cc
@@ -35,8 +35,8 @@ JavaBitmap::~JavaBitmap() {
DCHECK(!err);
}
-void RegisterBitmapAndroid(JNIEnv* env) {
- ui::RegisterNativesImpl(env);
+bool RegisterBitmapAndroid(JNIEnv* env) {
+ return ui::RegisterNativesImpl(env);
}
ScopedJavaLocalRef<jobject> CreateJavaBitmap(const gfx::Size& size) {

Powered by Google App Engine
This is Rietveld 408576698