Commit 6a30a8d4 authored by Daniel Rubery's avatar Daniel Rubery Committed by Commit Bot

Use larger size for icon in Advanced Protection scanning prompt.

Upon feedback from UX, we should be using GetErrorIconSize() in the APP
deep scanning prompts.

Bug: 1048199
Screenshot: https://screenshot.googleplex.com/CxJwRFQ66UQ.png
Change-Id: I9eba847f297520b1f3c5879bf8f748c0c69ad9f0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033753
Commit-Queue: Daniel Rubery <drubery@chromium.org>
Auto-Submit: Daniel Rubery <drubery@chromium.org>
Reviewed-by: default avatarXing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#737829}
parent eeab5384
...@@ -1241,7 +1241,7 @@ gfx::ImageSkia DownloadItemView::GetWarningIcon() { ...@@ -1241,7 +1241,7 @@ gfx::ImageSkia DownloadItemView::GetWarningIcon() {
case download::DOWNLOAD_DANGER_TYPE_PROMPT_FOR_SCANNING: case download::DOWNLOAD_DANGER_TYPE_PROMPT_FOR_SCANNING:
return gfx::CreateVectorIcon( return gfx::CreateVectorIcon(
vector_icons::kHelpIcon, GetWarningIconSize(), vector_icons::kHelpIcon, GetErrorIconSize(),
GetNativeTheme()->GetSystemColor( GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_DefaultIconColor)); ui::NativeTheme::kColorId_DefaultIconColor));
......
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