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

Issue 2624263002: SearchEngineTabHelper: avoid calling TemplateURL::GenerateFaviconURL with empty URL. (Closed)

Created:
3 years, 11 months ago by yzshen1
Modified:
3 years, 11 months ago
Reviewers:
sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SearchEngineTabHelper: avoid calling TemplateURL::GenerateFaviconURL with empty URL. In some cases, it tried to generate favicon URL using the referrer URL of a navigation, but referrer URL could be empty which triggered a DCHECK in TemplateURL::GenerateFaviconURL. BUG=678502 Review-Url: https://codereview.chromium.org/2624263002 Cr-Commit-Position: refs/heads/master@{#443017} Committed: https://chromium.googlesource.com/chromium/src/+/61ea83dfd086b18d20e746d7f61bd05b7a933aa2

Patch Set 1 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M chrome/browser/ui/search_engines/search_engine_tab_helper.cc View 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
yzshen1
Hi, Scott. Would you please take a look? Thanks!
3 years, 11 months ago (2017-01-11 18:16:33 UTC) #4
sky
LGTM
3 years, 11 months ago (2017-01-11 19:02:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2624263002/20001
3 years, 11 months ago (2017-01-11 19:04:35 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 22:26:13 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/61ea83dfd086b18d20e746d7f61b...

Powered by Google App Engine
This is Rietveld 408576698