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

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

Issue 6374005: DOMUI Prefs: Fix the initial visibility of Search (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « no previous file | chrome/browser/resources/options/search_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/advanced_options.js
diff --git a/chrome/browser/resources/options/advanced_options.js b/chrome/browser/resources/options/advanced_options.js
index 1938fd5e1db8662439e2d9ab060b4d41f7447eed..dd622eb5877994bac910cb90f0b6e754078a4625 100644
--- a/chrome/browser/resources/options/advanced_options.js
+++ b/chrome/browser/resources/options/advanced_options.js
@@ -261,7 +261,8 @@ var OptionsPage = options.OptionsPage;
AdvancedOptions.RemoveRemotingSection = function() {
var proxySectionElm = $('remoting-section');
- proxySectionElm.parentNode.removeChild(proxySectionElm);
+ if (proxySectionElm)
+ proxySectionElm.parentNode.removeChild(proxySectionElm);
};
// Export
« no previous file with comments | « no previous file | chrome/browser/resources/options/search_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698