Commit 2411ba37 authored by nasko's avatar nasko Committed by Commit bot

DidStopLoadingIcons should account for remote main frame.

BUG=399775

Review URL: https://codereview.chromium.org/634123002

Cr-Commit-Position: refs/heads/master@{#299318}
parent ffc3747a
......@@ -4178,6 +4178,11 @@ void RenderViewImpl::DidStopLoadingIcons() {
if (TouchEnabled())
icon_types |= WebIconURL::TypeTouchPrecomposed | WebIconURL::TypeTouch;
// Favicons matter only for the top-level frame. If it is a WebRemoteFrame,
// just return early.
if (webview()->mainFrame()->isWebRemoteFrame())
return;
WebVector<WebIconURL> icon_urls =
webview()->mainFrame()->iconURLs(icon_types);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment