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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 409593002: Get ResourceType from WebURLRequest rather than TargetType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windows. Created 6 years, 5 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/public/common/resource_type.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index edf4c359a721751121dbacf3e87b59a86320ac45..a5b245660e352eaebe3a0f4c2823771cf37d872a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -2627,7 +2627,7 @@ void RenderFrameImpl::didLoadResourceFromMemoryCache(
response.securityInfo(),
request.httpMethod().utf8(),
response.mimeType().utf8(),
- ResourceType::FromTargetType(request.targetType())));
+ ResourceType::FromWebURLRequest(request)));
}
void RenderFrameImpl::didDisplayInsecureContent(blink::WebLocalFrame* frame) {
« no previous file with comments | « content/public/common/resource_type.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698