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

Unified Diff: content/browser/renderer_host/async_resource_handler.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
Index: content/browser/renderer_host/async_resource_handler.cc
===================================================================
--- content/browser/renderer_host/async_resource_handler.cc (revision 121250)
+++ content/browser/renderer_host/async_resource_handler.cc (working copy)
@@ -133,9 +133,8 @@
DevToolsNetLogObserver::PopulateResponseInfo(request, response);
- const content::ResourceContext& resource_context =
- filter_->resource_context();
- content::HostZoomMap* host_zoom_map = resource_context.host_zoom_map();
+ content::ResourceContext* resource_context = filter_->resource_context();
+ content::HostZoomMap* host_zoom_map = resource_context->GetHostZoomMap();
ResourceDispatcherHostRequestInfo* info = rdh_->InfoForRequest(request);
if (info->resource_type() == ResourceType::MAIN_FRAME && host_zoom_map) {
« no previous file with comments | « content/browser/ppapi_plugin_process_host.h ('k') | content/browser/renderer_host/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698