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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java

Issue 2942963002: corrected wrong options showing on context menus. (Closed)
Patch Set: empty Created 3 years, 6 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: chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
index c6bd1cea87a6da51593063e6d2129d49258c869c..accbff73313db7bbe326a503c57f943e2cb4b0f6 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/contextmenu/TabularContextMenuUiTest.java
@@ -146,8 +146,7 @@ public class TabularContextMenuUiTest {
@Override
public View call() {
return dialog.createContextMenuPageUi(mActivityTestRule.getActivity(),
- new MockMenuParams(expectedUrl), Collections.unmodifiableList(item), false,
- item.size());
+ new MockMenuParams(expectedUrl), Collections.unmodifiableList(item), false);
}
});
@@ -167,8 +166,7 @@ public class TabularContextMenuUiTest {
@Override
public View call() {
return dialog.createContextMenuPageUi(mActivityTestRule.getActivity(),
- new MockMenuParams(""), Collections.unmodifiableList(item), false,
- item.size());
+ new MockMenuParams(""), Collections.unmodifiableList(item), false);
}
});
@@ -189,7 +187,7 @@ public class TabularContextMenuUiTest {
public View call() {
return dialog.createContextMenuPageUi(mActivityTestRule.getActivity(),
new MockMenuParams("http://google.com"), Collections.unmodifiableList(item),
- false, item.size());
+ false);
}
});

Powered by Google App Engine
This is Rietveld 408576698