| Index: chrome/browser/dom_ui/dom_ui_factory.cc
|
| ===================================================================
|
| --- chrome/browser/dom_ui/dom_ui_factory.cc (revision 70598)
|
| +++ chrome/browser/dom_ui/dom_ui_factory.cc (working copy)
|
| @@ -96,7 +96,7 @@
|
| if (url.host() == chrome::kChromeUIDialogHost)
|
| return &NewDOMUI<ConstrainedHtmlUI>;
|
|
|
| - ExtensionService* service = profile->GetExtensionService();
|
| + ExtensionService* service = profile ? profile->GetExtensionService() : NULL;
|
| if (service && service->ExtensionBindingsAllowed(url))
|
| return &NewDOMUI<ExtensionDOMUI>;
|
|
|
|
|