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

Unified Diff: components/dom_distiller/core/url_utils_android.cc

Issue 147533004: Remove unneeded JNI registrations. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Fix android webview build issues. Created 6 years, 9 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/dom_distiller/core/url_utils_android.cc
diff --git a/components/dom_distiller/core/url_utils_android.cc b/components/dom_distiller/core/url_utils_android.cc
index 2f12d344a62838348b7b964eea551a2cc9070e29..1b80b00e61c7172bf85363622cd01fd33195386e 100644
--- a/components/dom_distiller/core/url_utils_android.cc
+++ b/components/dom_distiller/core/url_utils_android.cc
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/dom_distiller/core/url_utils_android.h"
-
#include <string>
#include "base/android/jni_string.h"
@@ -34,8 +32,6 @@ jstring GetDistillerViewUrlFromUrl(JNIEnv* env,
return base::android::ConvertUTF8ToJavaString(env, view_url.spec()).Release();
}
-bool RegisterUrlUtils(JNIEnv* env) { return RegisterNativesImpl(env); }
-
} // namespace android
} // namespace url_utils

Powered by Google App Engine
This is Rietveld 408576698