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

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

Issue 11886074: Use correct favicon scale factor on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments added; GetWidth() renamed to GetDisplayWidth() etc. 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/gfx_jni_registrar.cc
diff --git a/ui/gfx/android/gfx_jni_registrar.cc b/ui/gfx/android/gfx_jni_registrar.cc
index d4406c8fc6e4cead0b36c38046eca468f551d601..9c334eda112b5993e8f66ca4c994dd9c9ae4b9f1 100644
--- a/ui/gfx/android/gfx_jni_registrar.cc
+++ b/ui/gfx/android/gfx_jni_registrar.cc
@@ -4,13 +4,15 @@
#include "ui/gfx/android/gfx_jni_registrar.h"
+#include "ui/gfx/android/device_info.h"
+
namespace gfx {
void RegisterBitmapAndroid(JNIEnv* env);
bool RegisterJni(JNIEnv* env) {
RegisterBitmapAndroid(env);
Yaron 2013/01/17 00:38:48 Can you make this consistent with other registrars
aruslan 2013/01/17 02:11:47 Moved everything to ui/android/ui_jni_registrar.cc
- return true;
+ return gfx::DeviceInfo::RegisterDeviceInfo(env);
}
} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698