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

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

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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
Index: chrome/browser/resources/chromeos/chromevox/walkers/abstract_node_walker.js
diff --git a/chrome/browser/resources/chromeos/chromevox/walkers/abstract_node_walker.js b/chrome/browser/resources/chromeos/chromevox/walkers/abstract_node_walker.js
index f360aefc0586b739b67e7ea8fc4ae13bdcc7d590..af867d62d8e8ba2239bac85e97ef26e9aaa77699 100644
--- a/chrome/browser/resources/chromeos/chromevox/walkers/abstract_node_walker.js
+++ b/chrome/browser/resources/chromeos/chromevox/walkers/abstract_node_walker.js
@@ -43,8 +43,8 @@ cvox.AbstractNodeWalker.prototype.next = function(sel) {
return null;
}
do {
- node = cvox.DomUtil.directedNextLeafLikeNode(node, r,
- goog.bind(this.stopNodeDescent, this));
+ node = cvox.DomUtil.directedNextLeafLikeNode(
+ node, r, goog.bind(this.stopNodeDescent, this));
if (!node) {
return null;
}
@@ -85,7 +85,7 @@ cvox.AbstractNodeWalker.prototype.privateSync_ = function(sel) {
var node = sel.start.node;
while (node != document.body && node.parentNode &&
- this.stopNodeDescent(node.parentNode)) {
+ this.stopNodeDescent(node.parentNode)) {
node = node.parentNode;
}
@@ -96,7 +96,7 @@ cvox.AbstractNodeWalker.prototype.privateSync_ = function(sel) {
var n = cvox.CursorSelection.fromNode(node);
if (!cvox.DomUtil.hasContent(node)) {
n = this.next(/** @type {!cvox.CursorSelection} */
- (cvox.CursorSelection.fromNode(node)).setReversed(r));
+ (cvox.CursorSelection.fromNode(node)).setReversed(r));
}
if (n) {
return n.setReversed(r);

Powered by Google App Engine
This is Rietveld 408576698