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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java

Issue 2105183002: Remove parameter from Privacy prefs initializer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
index d0d9e7ed96258d54760f15bf3895a6fbc79c574b..8f806babc0f35ed229a70a020eea62eb679bc316 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWeb.java
@@ -41,7 +41,7 @@ public class PhysicalWeb {
* @return boolean {@code true} if the preference is On.
*/
public static boolean isPhysicalWebPreferenceEnabled(Context context) {
- return PrivacyPreferencesManager.getInstance(context).isPhysicalWebEnabled();
+ return PrivacyPreferencesManager.getInstance().isPhysicalWebEnabled();
}
/**
@@ -52,7 +52,7 @@ public class PhysicalWeb {
* @return boolean {@code true} if onboarding is complete.
*/
public static boolean isOnboarding(Context context) {
- return PrivacyPreferencesManager.getInstance(context).isPhysicalWebOnboarding();
+ return PrivacyPreferencesManager.getInstance().isPhysicalWebOnboarding();
}
/**

Powered by Google App Engine
This is Rietveld 408576698