Index: chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js |
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js |
index 968564cdc271518f76e4be0357792fe34e79548f..b092904152138a743bbb948d194569c56931af07 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js |
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/navigation_history.js |
@@ -74,8 +74,7 @@ cvox.NavigationHistory.prototype.update = function(newNode) { |
} |
// If list is too long, pop the last (oldest) item. |
- if (this.history_.length > |
- cvox.NavigationHistory.MAX_HISTORY_LEN_) { |
+ if (this.history_.length > cvox.NavigationHistory.MAX_HISTORY_LEN_) { |
this.history_.pop(); |
} |
@@ -100,7 +99,7 @@ cvox.NavigationHistory.prototype.becomeInvalid = function(node) { |
// changing very quickly. Be defensive here and allow the default |
// navigation action by returning true. |
if (!this.arrivedValid_) { |
- this.arrivedValid_ = true; // Reset flag. |
+ this.arrivedValid_ = true; // Reset flag. |
return false; |
} |