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

Unified Diff: components/web_restrictions/browser/mock_web_restrictions_client.cc

Issue 2146753002: Android: Remove unneeded RegisterNatives() calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Android: Don't require RegisterNatives if there are none Created 4 years, 4 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: components/web_restrictions/browser/mock_web_restrictions_client.cc
diff --git a/components/web_restrictions/browser/mock_web_restrictions_client.cc b/components/web_restrictions/browser/mock_web_restrictions_client.cc
index acc849cc3e0bdb82ad93262e2b69484bb909f81b..28edb45778d6c0c6e263832a0c79dd1be1ce75fe 100644
--- a/components/web_restrictions/browser/mock_web_restrictions_client.cc
+++ b/components/web_restrictions/browser/mock_web_restrictions_client.cc
@@ -18,9 +18,5 @@ MockWebRestrictionsClient::~MockWebRestrictionsClient() {
base::android::AttachCurrentThread());
}
-bool MockWebRestrictionsClient::Register(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
} // namespace web_restrictions

Powered by Google App Engine
This is Rietveld 408576698