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

Unified Diff: chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js

Issue 2943193002: Run clang-format on .js files in c/b/r/chromeos/chromevox (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/chromevox/injected/node_breadcrumb.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
index e61b11a407912028f5154ad90a8163c05c1f3523..4b7966063e517ec0a92c8cc35c8ee3f98fd033c3 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/injected/node_breadcrumb.js
@@ -51,7 +51,7 @@ cvox.NodeBreadcrumb.prototype.tagCurrentNode = function() {
var cvTag;
var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
while (currentNode && !currentNode.hasAttribute) {
- currentNode = currentNode.parentNode;
+ currentNode = currentNode.parentNode;
}
if (!currentNode) {
cvTag = -1;
@@ -157,9 +157,10 @@ cvox.NodeBreadcrumb.prototype.dumpWalkedDom = function() {
cvox.NodeBreadcrumb.getCurrentNodeTag = function() {
var currentNode = cvox.ChromeVox.navigationManager.getCurrentNode();
while (currentNode && !currentNode.hasAttribute) {
- currentNode = currentNode.parentNode;
+ currentNode = currentNode.parentNode;
}
- if (currentNode && currentNode.hasAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG)) {
+ if (currentNode &&
+ currentNode.hasAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG)) {
return currentNode.getAttribute(cvox.NodeBreadcrumb.TOUCHED_TAG);
} else {
return -1;

Powered by Google App Engine
This is Rietveld 408576698