| Index: components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
| diff --git a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
| index 3c696771fbabb131a0d52a26dea20a6910d176e1..b02c6f1adf8d27000ab71e6a0838fbf1c3162402 100644
|
| --- a/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
| +++ b/components/variations/android/java/src/org/chromium/components/variations/firstrun/VariationsSeedFetcher.java
|
| @@ -103,7 +103,7 @@ public class VariationsSeedFetcher {
|
| // Note that VariationsSeedBridge.hasNativePref() is a pure Java function, reading an
|
| // Android preference that is set when the seed is fetched by the native code.
|
| if (prefs.getBoolean(VARIATIONS_INITIALIZED_PREF, false)
|
| - || VariationsSeedBridge.hasNativePref(context)) {
|
| + || VariationsSeedBridge.hasNativePref()) {
|
| return;
|
| }
|
| downloadContent(context, restrictMode);
|
| @@ -155,7 +155,7 @@ public class VariationsSeedFetcher {
|
| String date = getHeaderFieldOrEmpty(connection, "Date");
|
| boolean isGzipCompressed = getHeaderFieldOrEmpty(connection, "IM").equals("gzip");
|
| VariationsSeedBridge.setVariationsFirstRunSeed(
|
| - context, rawSeed, signature, country, date, isGzipCompressed);
|
| + rawSeed, signature, country, date, isGzipCompressed);
|
| recordSeedFetchTime(SystemClock.elapsedRealtime() - startTimeMillis);
|
| } catch (SocketTimeoutException e) {
|
| recordFetchResultOrCode(SEED_FETCH_RESULT_TIMEOUT);
|
|
|