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

Unified Diff: content/shell/android/java/src/org/chromium/content_shell/Shell.java

Issue 130893004: [Android] Remove assert as it uses a non-API backwards compatible function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/android/java/src/org/chromium/content_shell/Shell.java
diff --git a/content/shell/android/java/src/org/chromium/content_shell/Shell.java b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
index 1010c80df85ca6329d8a3f403cef64093d8d1daa..3a442a08485cd29e26478753d1391e1292efe5af 100644
--- a/content/shell/android/java/src/org/chromium/content_shell/Shell.java
+++ b/content/shell/android/java/src/org/chromium/content_shell/Shell.java
@@ -104,8 +104,6 @@ public class Shell extends LinearLayout {
private void onNativeDestroyed() {
mWindow = null;
mNativeShell = 0;
- assert !mContentView.isAttachedToWindow()
- : "Attempting to destroy the content view while attached to the view hierarchy.";
mContentView.destroy();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698