summaryrefslogtreecommitdiffstats
path: root/android_webview/lib/main/webview_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/lib/main/webview_tests.cc')
-rw-r--r--android_webview/lib/main/webview_tests.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/android_webview/lib/main/webview_tests.cc b/android_webview/lib/main/webview_tests.cc
index 2c8d29c..08109fe 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());
return base::TestSuite(argc, argv).Run();
}