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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/tab/TabIdManager.java

Issue 2830843004: Update to newer Android Lint and suppress new Lint errors (Closed)
Patch Set: rebase Created 3 years, 8 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/tab/TabIdManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabIdManager.java b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabIdManager.java
index c4708773223f6dbceb8debf49c163a2cf34524e3..55d2613172cb2b31b1b2f4ea7eb24827ccff18de 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/tab/TabIdManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/tab/TabIdManager.java
@@ -4,6 +4,7 @@
package org.chromium.chrome.browser.tab;
+import android.annotation.SuppressLint;
import android.content.Context;
import android.content.SharedPreferences;
@@ -33,6 +34,7 @@ public class TabIdManager {
"org.chromium.chrome.browser.tab.TabIdManager.NEXT_ID";
private static final Object INSTANCE_LOCK = new Object();
+ @SuppressLint("StaticFieldLeak")
private static TabIdManager sInstance;
private final Context mContext;

Powered by Google App Engine
This is Rietveld 408576698