Commit 1da87bbb authored by Mathieu Perreault's avatar Mathieu Perreault Committed by Commit Bot

[Autofill] Fix border color for Mac.

The condition was not quite right, as Mac uses a Cocoa implementation
and views in other places.

Bug: None
Change-Id: I6102b5185cc55c394d3710a7dd0fe0b69c599a9d
Reviewed-on: https://chromium-review.googlesource.com/565070Reviewed-by: default avatarSebastien Seguin-Gagnon <sebsg@chromium.org>
Commit-Queue: Sebastien Seguin-Gagnon <sebsg@chromium.org>
Commit-Queue: Mathieu Perreault <mathp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485372}
parent 3750a788
......@@ -9,12 +9,12 @@
namespace autofill {
#if defined(TOOLKIT_VIEWS)
// In views, the implementation takes care of the border itself.
const int kPopupBorderThickness = 0;
#else
#if defined(OS_MACOSX) || defined(OS_ANDROID)
// TODO(crbug.com/676221): Change this to pixels
const int kPopupBorderThickness = 1;
#else
// In views, the implementation takes care of the border itself.
const int kPopupBorderThickness = 0;
#endif
} // namespace autofill
......
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