Index: android_webview/lib/main/webview_tests.cc |
diff --git a/android_webview/lib/main/webview_tests.cc b/android_webview/lib/main/webview_tests.cc |
index 2c8d29c6d00885e8e8c27f74a105e94cb5c96fa4..08109fefa3c8efa47f19ec735c19a8214805b26a 100644 |
--- a/android_webview/lib/main/webview_tests.cc |
+++ b/android_webview/lib/main/webview_tests.cc |
@@ -2,8 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "android_webview/native/android_webview_jni_registrar.h" |
+#include "base/android/jni_android.h" |
#include "base/test/test_suite.h" |
int main(int argc, char** argv) { |
+ android_webview::RegisterJni(base::android::AttachCurrentThread()); |
mkosiba (inactive)
2014/04/24 09:24:58
some of the unittests call register methods for cl
|
return base::TestSuite(argc, argv).Run(); |
} |