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

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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/settings/settings_main/settings_main.js
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
index a7c1e8d95346d34080e296d80ca891240b17dca0..e42680c302e6458f73fc669eb1c583fd5209af00 100644
--- a/chrome/browser/resources/settings/settings_main/settings_main.js
+++ b/chrome/browser/resources/settings/settings_main/settings_main.js
@@ -126,8 +126,8 @@ Polymer({
var visibleBottom = scroller.scrollTop + scroller.clientHeight;
var overscrollBottom = overscroll.offsetTop + overscroll.scrollHeight;
// How much of the overscroll is visible (may be negative).
- var visibleOverscroll = overscroll.scrollHeight -
- (overscrollBottom - visibleBottom);
+ var visibleOverscroll =
+ overscroll.scrollHeight - (overscrollBottom - visibleBottom);
this.overscroll_ =
Math.max(opt_minHeight || 0, Math.ceil(visibleOverscroll));
},
@@ -234,12 +234,12 @@ Polymer({
*/
getPage_: function(route) {
if (settings.Route.ABOUT.contains(route)) {
- return /** @type {?SettingsAboutPageElement} */(
+ return /** @type {?SettingsAboutPageElement} */ (
this.$$('settings-about-page'));
}
if (settings.Route.BASIC.contains(route) ||
settings.Route.ADVANCED.contains(route)) {
- return /** @type {?SettingsBasicPageElement} */(
+ return /** @type {?SettingsBasicPageElement} */ (
this.$$('settings-basic-page'));
}
assertNotReached();

Powered by Google App Engine
This is Rietveld 408576698