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

Unified Diff: content/test/test_browser_context.cc

Issue 9369009: Make content::ResourceContext be a real interface like the rest of the Content API (i.e. don't ha... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync 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 | « content/test/test_browser_context.h ('k') | content/test/webrtc_audio_device_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_browser_context.cc
===================================================================
--- content/test/test_browser_context.cc (revision 121250)
+++ content/test/test_browser_context.cc (working copy)
@@ -48,9 +48,9 @@
return NULL;
}
-const content::ResourceContext& TestBrowserContext::GetResourceContext() {
+content::ResourceContext* TestBrowserContext::GetResourceContext() {
// TODO(phajdan.jr): Get rid of this nasty global.
- return *content::MockResourceContext::GetInstance();
+ return content::MockResourceContext::GetInstance();
}
HostZoomMap* TestBrowserContext::GetHostZoomMap() {
« no previous file with comments | « content/test/test_browser_context.h ('k') | content/test/webrtc_audio_device_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698