Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 24de8fe6ef3d0153be847363ca69ab62dfbe857b..3f3c3ad0590ce6a09d465431fe066bee824c5fa6 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -193,11 +193,11 @@ void RemoveShaderInfo(int32 id) { |
net::URLRequestContext* GetRequestContext( |
scoped_refptr<net::URLRequestContextGetter> request_context, |
scoped_refptr<net::URLRequestContextGetter> media_request_context, |
- ResourceType::Type resource_type) { |
- // If the request has resource type of ResourceType::MEDIA, we use a request |
+ ResourceType resource_type) { |
+ // If the request has resource type of RESOURCE_TYPE_MEDIA, we use a request |
// context specific to media for handling it because these resources have |
// specific needs for caching. |
- if (resource_type == ResourceType::MEDIA) |
+ if (resource_type == RESOURCE_TYPE_MEDIA) |
return media_request_context->GetURLRequestContext(); |
return request_context->GetURLRequestContext(); |
} |
@@ -817,7 +817,7 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
WebSocketDispatcherHost::GetRequestContextCallback |
websocket_request_context_callback( |
base::Bind(&GetRequestContext, request_context, |
- media_request_context, ResourceType::SUB_RESOURCE)); |
+ media_request_context, RESOURCE_TYPE_SUB_RESOURCE)); |
AddFilter( |
new WebSocketDispatcherHost(GetID(), websocket_request_context_callback)); |