Index: content/browser/site_instance_impl.cc |
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc |
index b6e6918c0a48d755b0ae631270858c440afd3cb0..eb7ecd67fb357d792965396ced6438500973ba34 100644 |
--- a/content/browser/site_instance_impl.cc |
+++ b/content/browser/site_instance_impl.cc |
@@ -30,6 +30,8 @@ SiteInstanceImpl::SiteInstanceImpl(BrowsingInstance* browsing_instance) |
process_(NULL), |
has_site_(false) { |
DCHECK(browsing_instance); |
+ LOG(ERROR) << "SI::SI[" << this << "]:" |
+ << " id:" << id_; |
} |
SiteInstanceImpl::~SiteInstanceImpl() { |
@@ -44,6 +46,8 @@ SiteInstanceImpl::~SiteInstanceImpl() { |
if (has_site_) |
browsing_instance_->UnregisterSiteInstance( |
static_cast<SiteInstance*>(this)); |
+ LOG(ERROR) << "SI::~SI[" << this << "]:" |
+ << " id:" << id_; |
} |
int32 SiteInstanceImpl::GetId() { |
@@ -144,6 +148,9 @@ void SiteInstanceImpl::SetSite(const GURL& url) { |
BrowserContext* browser_context = browsing_instance_->browser_context(); |
site_ = GetSiteForURL(browser_context, url); |
+ LOG(ERROR) << "SI::SI[" << this << "]:" |
+ << " site:" << site_; |
+ |
// Now that we have a site, register it with the BrowsingInstance. This |
// ensures that we won't create another SiteInstance for this site within |
// the same BrowsingInstance, because all same-site pages within a |