| Index: chrome/browser/resources/options/content_settings.js
|
| diff --git a/chrome/browser/resources/options/content_settings.js b/chrome/browser/resources/options/content_settings.js
|
| index e751f7d5b2ab1645ab95553062ebe1aa4a412e3a..f49b7df7cb51cdf111c8d606e7900c88e1c7c39b 100644
|
| --- a/chrome/browser/resources/options/content_settings.js
|
| +++ b/chrome/browser/resources/options/content_settings.js
|
| @@ -184,8 +184,11 @@ cr.define('options', function() {
|
|
|
| ContentSettings.setOTRExceptions = function(type, otrExceptions) {
|
| var exceptionsList = this.getExceptionsList(type, 'otr');
|
| - exceptionsList.parentNode.hidden = false;
|
| - exceptionsList.setExceptions(otrExceptions);
|
| + // Settings for Guest hides many sections, so check for null first.
|
| + if (exceptionsList) {
|
| + exceptionsList.parentNode.hidden = false;
|
| + exceptionsList.setExceptions(otrExceptions);
|
| + }
|
| };
|
|
|
| /**
|
|
|