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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 1360223002: Remove some redundant frame parameters from WebFrameClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | 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 ce8141951a33d01c60ae6ff4b320cd437e6a992f..7bfd60754e4119e6170b7e8bc12b8352a0cf5052 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3453,16 +3453,13 @@ void RenderFrameImpl::didLoadResourceFromMemoryCache(
response.mimeType().utf8(), WebURLRequestToResourceType(request)));
}
-void RenderFrameImpl::didDisplayInsecureContent(blink::WebLocalFrame* frame) {
- DCHECK(!frame_ || frame_ == frame);
+void RenderFrameImpl::didDisplayInsecureContent() {
Send(new FrameHostMsg_DidDisplayInsecureContent(routing_id_));
}
void RenderFrameImpl::didRunInsecureContent(
- blink::WebLocalFrame* frame,
const blink::WebSecurityOrigin& origin,
const blink::WebURL& target) {
- DCHECK(!frame_ || frame_ == frame);
Send(new FrameHostMsg_DidRunInsecureContent(
routing_id_, origin.toString().utf8(), target));
GetContentClient()->renderer()->RecordRapporURL(
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698