Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js

Issue 1774743002: Fix some ChromeVox Closure compiler errors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/layout_line_walker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js b/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
index fa629cff824008a19c99c3eb2f45b44bcc9b8307..8e6a0e20ae8d6524ae318f09cce34d6a12071d74 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/table_walker.js
@@ -384,6 +384,9 @@ cvox.TableWalker.prototype.isInTable = function(sel) {
* @private
*/
cvox.TableWalker.prototype.goTo_ = function(sel, f) {
+ if (!sel.end.node) {
+ return null;
+ }
this.tt.initialize(this.getTableNode_(sel));
var position = this.tt.findNearestCursor(sel.end.node);
if (!position) {
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/walkers/layout_line_walker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698