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

Unified Diff: chrome/browser/tab_contents/render_view_host_manager.cc

Issue 2730014: Avoids sending about: URLs to DOM UI renderers in process-per-tab.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 6 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/tab_contents/render_view_host_manager.cc
===================================================================
--- chrome/browser/tab_contents/render_view_host_manager.cc (revision 49398)
+++ chrome/browser/tab_contents/render_view_host_manager.cc (working copy)
@@ -308,8 +308,8 @@
// For security, we should transition between processes when one is a DOM UI
// page and one isn't.
- if (DOMUIFactory::HasDOMUIScheme(cur_entry->url()) !=
- DOMUIFactory::HasDOMUIScheme(new_entry->url()))
+ if (DOMUIFactory::UseDOMUIForURL(cur_entry->url()) !=
+ DOMUIFactory::UseDOMUIForURL(new_entry->url()))
return true;
// Also, we must switch if one is an extension and the other is not the exact

Powered by Google App Engine
This is Rietveld 408576698