summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebBackForwardList.java
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2009-06-03 10:44:42 -0400
committerDerek Sollenberger <djsollen@google.com>2009-06-03 12:02:59 -0400
commit2e5c150e746647a1ce5c10e1708debbf06c45ea7 (patch)
tree6dbdd76473d99a1c84e581ad5750d0bc314b1562 /core/java/android/webkit/WebBackForwardList.java
parent93e50888fe0a9c897de05aeb2347d76fc1e00ab1 (diff)
downloadframeworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.zip
frameworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.tar.gz
frameworks_base-2e5c150e746647a1ce5c10e1708debbf06c45ea7.tar.bz2
Centralized debug flags and enabled more granular control of debug settings.
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);