Chromium Code Reviews| Index: chrome/renderer/chrome_content_renderer_client.cc |
| diff --git a/chrome/renderer/chrome_content_renderer_client.cc b/chrome/renderer/chrome_content_renderer_client.cc |
| index f8779f4b223d93ee564b07599f45c2e96763e64f..7e6455c453a75ca6e987a23af1d8ba2b52f2ddbd 100644 |
| --- a/chrome/renderer/chrome_content_renderer_client.cc |
| +++ b/chrome/renderer/chrome_content_renderer_client.cc |
| @@ -1400,6 +1400,8 @@ bool ChromeContentRendererClient::CrossesExtensionExtents( |
| // the type of process. In default Chrome, that's the URL of the opener's |
| // top frame and not the opener frame itself. In --site-per-process, we |
| // can use the opener frame itself. |
| + // TODO(nick): Either wire this up to SiteIsolationPolicy, or to state on |
| + // |opener_frame|/its ancestors. |
|
nasko
2015/07/08 12:52:22
I think this one can be using AreCrossProcessFrame
ncarter (slow)
2015/07/10 23:29:18
Alex and I had previously chatted about this, and
nasko
2015/07/23 14:29:21
It does.
|
| if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| switches::kSitePerProcess)) |
| old_url = opener_frame->document().url(); |