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

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

Issue 2617663002: WIP: run clang-format-js on lots of things (Closed)
Patch Set: merge Created 3 years, 11 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/basic_page/basic_page.js
diff --git a/chrome/browser/resources/settings/basic_page/basic_page.js b/chrome/browser/resources/settings/basic_page/basic_page.js
index dde5adea7361a21c243a54d1306bbd983aa71175..791aeeccab44ee3c57f58b8593e51622d6b647cc 100644
--- a/chrome/browser/resources/settings/basic_page/basic_page.js
+++ b/chrome/browser/resources/settings/basic_page/basic_page.js
@@ -100,8 +100,10 @@ Polymer({
query, assert(this.$$('#basicPage')));
if (this.pageVisibility.advancedSettings !== false) {
- assert(whenSearchDone === settings.getSearchManager().search(
- query, assert(this.$$('#advancedPage'))));
+ assert(
+ whenSearchDone ===
+ settings.getSearchManager().search(
+ query, assert(this.$$('#advancedPage'))));
}
return whenSearchDone;
@@ -161,11 +163,10 @@ Polymer({
* both routing and search state.
* @private
*/
- showAdvancedPage_: function(currentRoute, inSearchMode, hasExpandedSection,
- advancedToggleExpanded) {
- return hasExpandedSection ?
- settings.Route.ADVANCED.contains(currentRoute) :
- advancedToggleExpanded || inSearchMode;
+ showAdvancedPage_: function(
+ currentRoute, inSearchMode, hasExpandedSection, advancedToggleExpanded) {
+ return hasExpandedSection ? settings.Route.ADVANCED.contains(currentRoute) :
+ advancedToggleExpanded || inSearchMode;
},
/**

Powered by Google App Engine
This is Rietveld 408576698