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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java

Issue 2692203005: Remove unused context in ChromePreferenceManager. (Closed)
Patch Set: Update new use Created 3 years, 10 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/contextualsearch/ContextualSearchTapEventTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java
index 918985df96ef0ae37f123c7ab145648e35d82c45..1065faa5a1d76f7e828192f0a829813c40dc8383 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTapEventTest.java
@@ -93,7 +93,7 @@ public class ContextualSearchTapEventTest extends ChromeActivityTestCaseBase<Chr
new SelectionPopupController(activity, null, null, null,
contentView.getRenderCoordinates(), null));
contentView.setContextualSearchClient(this);
- MockContextualSearchPolicy policy = new MockContextualSearchPolicy(activity);
+ MockContextualSearchPolicy policy = new MockContextualSearchPolicy();
setContextualSearchPolicy(policy);
mTranslateController = new MockedCSTranslateController(activity, policy, null);
}

Powered by Google App Engine
This is Rietveld 408576698