Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js |
| index 82dec9cf54646f73909d11158ed5ceca74dd3fbd..b3b08dc17e1d83dc14c3ebdc4f27b99959326481 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js |
| @@ -314,7 +314,7 @@ cursors.Cursor.prototype = { |
| * @return {boolean} |
| */ |
| isValid: function() { |
| - return !!this.node && !!this.node.root; |
| + return this.node != null; |
|
dmazzoni
2016/06/20 19:49:03
Why this change? Did you not want to check the roo
David Tseng
2016/06/20 22:31:08
Your node recovery getter now does that.
|
| } |
| }; |