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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2776333005: Remove redundant WebLocalFrame* parameter from didChangeIcon (Closed)
Patch Set: Created 3 years, 9 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') | content/shell/test_runner/web_frame_test_client.h » ('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 679773f82aca83ced3397903a82c2e4dd7c899e6..2c254da6826faa80c68c183c4df9733db3e1b6f9 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -3877,11 +3877,9 @@ void RenderFrameImpl::didReceiveTitle(blink::WebLocalFrame* frame,
UpdateEncoding(frame, frame->view()->pageEncoding().utf8());
}
-void RenderFrameImpl::didChangeIcon(blink::WebLocalFrame* frame,
- blink::WebIconURL::Type icon_type) {
- DCHECK_EQ(frame_, frame);
+void RenderFrameImpl::didChangeIcon(blink::WebIconURL::Type icon_type) {
// TODO(nasko): Investigate wheather implementation should move here.
- render_view_->didChangeIcon(frame, icon_type);
+ render_view_->didChangeIcon(frame_, icon_type);
}
void RenderFrameImpl::didFinishDocumentLoad(blink::WebLocalFrame* frame) {
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | content/shell/test_runner/web_frame_test_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698