New issue
Advanced search Search tips

Issue 849805 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Update GetIconResourceID to use base::Optional

Project Member Reported by tmartino@chromium.org, Jun 5 2018

Issue description

This utility function in autofill_popup_layout_model returns -1 if the resource isn't found. This is outdated; we should really use an Optional instead.
 
Status: WontFix (was: Assigned)
Actually, 0 is a reserved (but undocumented 🙃) magic number in the IDS space indicating a resource doesn't exist, and should be used instead of a base::Optional.

Sign in to add a comment