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

Unified Diff: chrome/browser/resources/chromeos/chromevox/closure/closure_preinit.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/closure/closure_preinit.js
diff --git a/chrome/browser/resources/chromeos/chromevox/closure/closure_preinit.js b/chrome/browser/resources/chromeos/chromevox/closure/closure_preinit.js
index ef8fa274317933c87718cfbbdf69be0165e9be22..e6102ac98360f1e475517ac4b9116f36cbf6d37c 100644
--- a/chrome/browser/resources/chromeos/chromevox/closure/closure_preinit.js
+++ b/chrome/browser/resources/chromeos/chromevox/closure/closure_preinit.js
@@ -36,8 +36,7 @@ window.CLOSURE_IMPORT_SCRIPT = function(src) {
// when trying to inject ChromeVox scripts.
// TODO(lazyboy): Use URL instead.
if (src.startsWith('chrome-extension://')) {
- if (!goog.inHtmlDocument_() ||
- goog.dependencies_.written[src]) {
+ if (!goog.inHtmlDocument_() || goog.dependencies_.written[src]) {
return false;
}
goog.dependencies_.written[src] = true;
@@ -50,8 +49,7 @@ window.CLOSURE_IMPORT_SCRIPT = function(src) {
if (window.CLOSURE_USE_EXT_MESSAGES) {
var relativeSrc = src.substr(src.indexOf('closure/..') + 11);
chrome.extension.sendMessage(
- {'srcFile': relativeSrc},
- function(response) {
+ {'srcFile': relativeSrc}, function(response) {
try {
eval(response['code']);
} catch (e) {

Powered by Google App Engine
This is Rietveld 408576698