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

Unified Diff: content/browser/mock_resource_context.cc

Issue 7480041: Adding session-only localStorage. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Streamlining: Moving ResourceContext& from DOMStorageContext to DOMMessageFilter. Created 9 years, 4 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
Index: content/browser/mock_resource_context.cc
diff --git a/content/browser/mock_resource_context.cc b/content/browser/mock_resource_context.cc
index 2406273c7415c4d565c5b952022e231499755c80..0c6f4d3299575c3c81afb51410b9439541150787 100644
--- a/content/browser/mock_resource_context.cc
+++ b/content/browser/mock_resource_context.cc
@@ -18,7 +18,7 @@ MockResourceContext* MockResourceContext::GetInstance() {
MockResourceContext::MockResourceContext()
: test_request_context_(new TestURLRequestContext) {
- set_request_context(test_request_context_);
+ request_context_ = test_request_context_;
}
MockResourceContext::~MockResourceContext() {}
« no previous file with comments | « content/browser/mock_content_browser_client.cc ('k') | content/browser/renderer_host/browser_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698