summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebBackForwardList.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/webkit/WebBackForwardList.java')
-rw-r--r--core/java/android/webkit/WebBackForwardList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/webkit/WebBackForwardList.java b/core/java/android/webkit/WebBackForwardList.java
index ffd6a11..62a5531 100644
--- a/core/java/android/webkit/WebBackForwardList.java
+++ b/core/java/android/webkit/WebBackForwardList.java
@@ -137,7 +137,7 @@ public class WebBackForwardList implements Cloneable, Serializable {
// when removing the first item, we can assert that the index is 0.
// This lets us change the current index without having to query the
// native BackForwardList.
- if (WebView.DEBUG && (index != 0)) {
+ if (DebugFlags.WEB_BACK_FORWARD_LIST && (index != 0)) {
throw new AssertionError();
}
final WebHistoryItem h = mArray.remove(index);