Index: base/android/javatests/src/org/chromium/base/ObserverListTest.java |
diff --git a/base/android/javatests/src/org/chromium/base/ObserverListTest.java b/base/android/javatests/src/org/chromium/base/ObserverListTest.java |
index 599534a2e996100c75d11a6780e386893058c41e..c28d51d72eea25e86add47b478d9477b1fc86401 100644 |
--- a/base/android/javatests/src/org/chromium/base/ObserverListTest.java |
+++ b/base/android/javatests/src/org/chromium/base/ObserverListTest.java |
@@ -248,7 +248,6 @@ public class ObserverListTest extends InstrumentationTestCase { |
// If we remove an object while iterating, it will be replaced by 'null'. |
observerList.addObserver(a); |
- Iterator<Object> iterator = observerList.iterator(); |
assertTrue(observerList.removeObserver(a)); |
assertFalse(observerList.removeObserver(null)); |
} |