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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 8889041: first cut at uber page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years 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/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 2ba42d29e7a5e571bffa6b5403cb47f2956767fb..ba59d3d2a0de56eaaa9434d007c1a67c54b34e40 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -120,7 +120,7 @@ cr.define('options', function() {
startupPagesList.autoExpands = true;
// Check if we are in the guest mode.
- if (cr.commandLine.options['--bwsi']) {
+ if (cr.commandLine && cr.commandLine.options['--bwsi']) {
// Hide the startup section.
$('startupSection').hidden = true;
} else {

Powered by Google App Engine
This is Rietveld 408576698