| Index: content/browser/site_instance_impl.cc
|
| diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc
|
| index 792afc5e0a1799b8834254089f865c7224898bc7..131189e0ee47a9041cf17e738e2a771120b8e52e 100644
|
| --- a/content/browser/site_instance_impl.cc
|
| +++ b/content/browser/site_instance_impl.cc
|
| @@ -142,6 +142,11 @@ SiteInstance* SiteInstanceImpl::GetRelatedSiteInstance(const GURL& url) {
|
| return browsing_instance_->GetSiteInstanceForURL(url);
|
| }
|
|
|
| +bool SiteInstanceImpl::IsRelatedSiteInstance(const SiteInstance* instance) {
|
| + return browsing_instance_ ==
|
| + static_cast<const SiteInstanceImpl*>(instance)->browsing_instance_;
|
| +}
|
| +
|
| bool SiteInstanceImpl::HasWrongProcessForURL(const GURL& url) const {
|
| // Having no process isn't a problem, since we'll assign it correctly.
|
| if (!HasProcess())
|
|
|