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

Unified Diff: content/browser/browser_context.cc

Issue 9443033: Fail gracefully if InitializeResourceContext ends up calling itself recursively. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | content/browser/resource_context_impl.cc » ('j') | content/browser/resource_context_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index d56e797c7e2c7b7b29529742f01de6ac9a09e5a2..8330d673312abf1211d2ce61504ea77ca0ded1f4 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -125,8 +125,6 @@ FileSystemContext* BrowserContext::GetFileSystemContext(
}
void BrowserContext::EnsureResourceContextInitialized(BrowserContext* context) {
- if (context->GetResourceContext()->GetUserData(kWebKitContextKeyName))
- return;
InitializeResourceContext(context);
}
« no previous file with comments | « no previous file | content/browser/resource_context_impl.cc » ('j') | content/browser/resource_context_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698