summaryrefslogtreecommitdiffstats
path: root/ui/android
diff options
context:
space:
mode:
Diffstat (limited to 'ui/android')
-rw-r--r--ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java2
-rw-r--r--ui/android/ui_jni_registrar.cc2
2 files changed, 1 insertions, 3 deletions
diff --git a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java
index 97511a1..341eba0 100644
--- a/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java
+++ b/ui/android/java/src/org/chromium/ui/gfx/BitmapHelper.java
@@ -10,7 +10,7 @@ import android.graphics.BitmapFactory;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
-@JNINamespace("ui")
+@JNINamespace("gfx")
public class BitmapHelper {
@CalledByNative
public static Bitmap createBitmap(int width, int height) {
diff --git a/ui/android/ui_jni_registrar.cc b/ui/android/ui_jni_registrar.cc
index 8216e01..33aeeaf 100644
--- a/ui/android/ui_jni_registrar.cc
+++ b/ui/android/ui_jni_registrar.cc
@@ -18,8 +18,6 @@ namespace android {
static base::android::RegistrationMethod kUiRegisteredMethods[] = {
{ "Clipboard", ui::RegisterClipboardAndroid },
- { "DeviceDisplayInfo", gfx::DeviceDisplayInfo::RegisterDeviceDisplayInfo },
- { "JavaBitmap", gfx::JavaBitmap::RegisterJavaBitmap },
{ "LocalizationUtils", l10n_util::RegisterLocalizationUtil },
{ "ViewAndroid", ui::ViewAndroid::RegisterViewAndroid },
{ "WindowAndroid", ui::WindowAndroid::RegisterWindowAndroid },