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

Unified Diff: chrome/browser/dom_ui/dom_ui_factory.cc

Issue 6106003: Similar as extension, DOM UI needs to be created in its own process.... (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
Index: chrome/browser/dom_ui/dom_ui_factory.cc
===================================================================
--- chrome/browser/dom_ui/dom_ui_factory.cc (revision 70813)
+++ 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>;
« no previous file with comments | « chrome/browser/browsing_instance.cc ('k') | chrome/browser/renderer_host/test/render_process_host_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698