Commit 4a613785 authored by tedchoc@chromium.org's avatar tedchoc@chromium.org

[Android] Remove assert as it uses a non-API backwards compatible function.

BUG=

Review URL: https://codereview.chromium.org/130893004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244036 0039d316-1c4b-4281-b951-d872f2087c98
parent 3aba4914
...@@ -104,8 +104,6 @@ public class Shell extends LinearLayout { ...@@ -104,8 +104,6 @@ public class Shell extends LinearLayout {
private void onNativeDestroyed() { private void onNativeDestroyed() {
mWindow = null; mWindow = null;
mNativeShell = 0; mNativeShell = 0;
assert !mContentView.isAttachedToWindow()
: "Attempting to destroy the content view while attached to the view hierarchy.";
mContentView.destroy(); mContentView.destroy();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment