Index: content/app/android/library_loader_hooks.cc |
diff --git a/content/app/android/library_loader_hooks.cc b/content/app/android/library_loader_hooks.cc |
index 725491d67fe07d5a67b3bb537178cda83e1b2c7a..48e36e3419fc5ba4533f34ed9a2bd00de5dd3599 100644 |
--- a/content/app/android/library_loader_hooks.cc |
+++ b/content/app/android/library_loader_hooks.cc |
@@ -27,6 +27,7 @@ |
#include "media/base/android/media_jni_registrar.h" |
#include "net/android/net_jni_registrar.h" |
#include "ui/android/ui_jni_registrar.h" |
+#include "ui/gfx/android/gfx_jni_registrar.h" |
#include "ui/gl/android/gl_jni_registrar.h" |
#include "ui/shell_dialogs/android/shell_dialogs_jni_registrar.h" |
@@ -73,6 +74,9 @@ static jint LibraryLoaded(JNIEnv* env, jclass clazz, |
if (!base::android::RegisterJni(env)) |
return RESULT_CODE_FAILED_TO_REGISTER_JNI; |
+ if (!gfx::android::RegisterJni(env)) |
+ return RESULT_CODE_FAILED_TO_REGISTER_JNI; |
+ |
if (!net::android::RegisterJni(env)) |
return RESULT_CODE_FAILED_TO_REGISTER_JNI; |