Index: content/public/android/java/src/org/chromium/content/browser/ViewPositionObserver.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ViewPositionObserver.java b/content/public/android/java/src/org/chromium/content/browser/ViewPositionObserver.java |
index 8f55f2f252752849b10505ad214e40340afc1bd6..552a305b0d383a5a67ee351b1de255483c5813b9 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ViewPositionObserver.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ViewPositionObserver.java |
@@ -99,5 +99,13 @@ public class ViewPositionObserver implements PositionObserver { |
notifyListeners(); |
} |
} |
+ |
+ /** |
+ * Clears installed listener(s). |
+ */ |
+ @Override |
+ public void clearListener() { |
+ mListeners.clear(); |
+ } |
} |