Index: ui/test/test_suite.cc |
diff --git a/ui/test/test_suite.cc b/ui/test/test_suite.cc |
index 13890e25ff3f4a51af75e61481e2932167ea6e53..fc7c6b0b006ede29862a1840ad17aec794a94829 100644 |
--- a/ui/test/test_suite.cc |
+++ b/ui/test/test_suite.cc |
@@ -15,6 +15,7 @@ |
#if defined(OS_ANDROID) |
#include "base/android/jni_android.h" |
#include "ui/android/ui_jni_registrar.h" |
+#include "ui/gfx/android/gfx_jni_registrar.h" |
#endif |
#if defined(OS_MACOSX) && !defined(OS_IOS) |
@@ -31,6 +32,7 @@ void UITestSuite::Initialize() { |
#if defined(OS_ANDROID) |
// Register JNI bindings for android. |
+ gfx::android::RegisterJni(base::android::AttachCurrentThread()); |
ui::android::RegisterJni(base::android::AttachCurrentThread()); |
#endif |