Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2495)

Unified Diff: android_webview/lib/main/webview_tests.cc

Issue 239793002: Handle media access permission request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix error, landed it again Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
return base::TestSuite(argc, argv).Run();
}

Powered by Google App Engine
This is Rietveld 408576698