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

Issue 2891573002: Use the win10 native avatar button only for AvatarButtonStyle::NATIVE (Closed)

Created:
3 years, 7 months ago by Sungmann Cho
Modified:
3 years, 7 months ago
Reviewers:
emx, Peter Kasting
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Use the win10 native avatar button only for AvatarButtonStyle::NATIVE OpaqueBrowserFrameView creates AvatarButton with AvatarButtonStyle::THEMED, and this leads to DCHECK_EQ failure at the constructor of AvatarButton. BUG=723070 Review-Url: https://codereview.chromium.org/2891573002 Cr-Commit-Position: refs/heads/master@{#472443} Committed: https://chromium.googlesource.com/chromium/src/+/1b08234bf776baa8a8517fc6c0145526055353d0

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/browser/ui/views/profiles/avatar_button.cc View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
Sungmann Cho
Please take a look. Thanks!
3 years, 7 months ago (2017-05-16 22:29:58 UTC) #2
Peter Kasting
What do we want to have happen in the themed-glass-frame case? Should that be using ...
3 years, 7 months ago (2017-05-17 00:16:41 UTC) #3
Sungmann Cho
On 2017/05/17 00:16:41, Peter Kasting wrote: > What do we want to have happen in ...
3 years, 7 months ago (2017-05-17 13:03:49 UTC) #4
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/2891573002/1
3 years, 7 months ago (2017-05-17 13:04:49 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/1b08234bf776baa8a8517fc6c0145526055353d0
3 years, 7 months ago (2017-05-17 13:52:22 UTC) #9
Peter Kasting
On 2017/05/17 13:03:49, Sungmann Cho wrote: > On 2017/05/17 00:16:41, Peter Kasting wrote: > > ...
3 years, 7 months ago (2017-05-17 18:25:10 UTC) #10
Sungmann Cho
3 years, 7 months ago (2017-05-17 21:13:28 UTC) #11
Message was sent while issue was closed.
> Note also that I had LGTMed the alternate fix I suggested, but not this fix. 
> I'm not going to revert (I'm happy to have the DCHECK not fire), but if you
can
> try and fix as proposed I'd appreciate it!

Oops, I completely misunderstood your comment! I'll create a new CL ASAP.

Powered by Google App Engine
This is Rietveld 408576698