Index: content/browser/browser_context.cc |
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc |
index b2aadfe72d4c1d32d0080691931ac098c291bbf6..58e5df8fd0552217a71a2bea906ad0b7f0b7b117 100644 |
--- a/content/browser/browser_context.cc |
+++ b/content/browser/browser_context.cc |
@@ -116,7 +116,8 @@ StoragePartition* BrowserContext::GetStoragePartition( |
// this conditional and require that |site_instance| is non-NULL. |
if (site_instance) { |
partition_id = GetContentClient()->browser()-> |
- GetStoragePartitionIdForSite(browser_context, site_instance->GetSite()); |
+ GetStoragePartitionIdForSite(browser_context, |
+ site_instance->GetSiteURL()); |
} |
return GetStoragePartitionByPartitionId(browser_context, partition_id); |