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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java

Issue 2517203002: Reland of Add GN build rules to allow java_assertion_enabler to enable Java asserts. (Closed)
Patch Set: format nit Created 4 years, 1 month 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: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
index 8e1b89ee04ee64fdea3fe8687d1557c5c56ce2db..a2cfb6f61e06284c1e257da99f073d3cceed1518 100644
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsObserverProxy.java
@@ -248,7 +248,8 @@ class WebContentsObserverProxy extends WebContentsObserver {
}
// All observer destroy() implementations should result in their removal
// from the proxy.
- assert mObservers.isEmpty();
+ // TODO(crbug.com/667437)
+ // assert mObservers.isEmpty();
boliu 2016/11/23 17:20:22 also is this being fixed?
agrieve 2016/11/23 17:55:39 Looks like there's action on the bug.
mObservers.clear();
if (mNativeWebContentsObserverProxy != 0) {

Powered by Google App Engine
This is Rietveld 408576698