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

Unified Diff: chrome/browser/android/tab_android.cc

Issue 571813003: Fix Tab.getWebContents for downstream instrumentation tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove native method Created 6 years, 3 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
« no previous file with comments | « chrome/browser/android/tab_android.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/tab_android.cc
diff --git a/chrome/browser/android/tab_android.cc b/chrome/browser/android/tab_android.cc
index c0fcd6eeb0afd6824b5dd94085f2387d94e84f58..e56e5e949b40b243d0096184319dbe7ae2f5de54 100644
--- a/chrome/browser/android/tab_android.cc
+++ b/chrome/browser/android/tab_android.cc
@@ -440,14 +440,6 @@ void TabAndroid::DestroyWebContents(JNIEnv* env,
}
}
-base::android::ScopedJavaLocalRef<jobject> TabAndroid::GetWebContents(
- JNIEnv* env,
- jobject obj) {
- if (!web_contents_.get())
- return base::android::ScopedJavaLocalRef<jobject>();
- return web_contents_->GetJavaWebContents();
-}
-
base::android::ScopedJavaLocalRef<jobject> TabAndroid::GetProfileAndroid(
JNIEnv* env,
jobject obj) {
« no previous file with comments | « chrome/browser/android/tab_android.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698