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

Issue 2597733002: [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask (Closed)

Created:
4 years ago by varkha
Modified:
4 years ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask This avoids mutation of |View::children_| during iteration inside View::PropagateNativeThemeChanged(). This was the reason for tests failures that caused a revert of this CL: https://codereview.chromium.org/2583343003/ . I am hoping to re-land that CL once this is fixed. BUG=NONE TEST=Existing coverage Committed: https://crrev.com/baad79f91de6ea9fd9ecc1b94980d71f2e7b92c1 Cr-Commit-Position: refs/heads/master@{#440454}

Patch Set 1 : [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask #

Total comments: 3

Patch Set 2 : [views] Makes DesktopWindowTreeHostX11::FrameTypeChanged use PostTask (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc View 1 2 chunks +17 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
varkha
sadrul@, this is what we talked about offline. PTAL. I will add some test coverage ...
4 years ago (2016-12-21 19:53:17 UTC) #2
sadrul
I am sad that we actually recreate the frame-view from NonClientView::UpdateFrame(). Can you please leave ...
4 years ago (2016-12-22 01:12:16 UTC) #8
varkha
Yes, will do (once we are done with the move), thanks! https://codereview.chromium.org/2597733002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): ...
4 years ago (2016-12-22 01:22:52 UTC) #9
varkha
https://codereview.chromium.org/2597733002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc File ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/2597733002/diff/20001/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc#newcode1034 ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc:1034: close_widget_factory_.GetWeakPtr(), On 2016/12/22 01:22:52, varkha wrote: > On 2016/12/22 ...
4 years ago (2016-12-22 17:49:11 UTC) #10
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/2597733002/40001
4 years ago (2016-12-22 17:49:44 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-22 18:30:06 UTC) #16
commit-bot: I haz the power
4 years ago (2016-12-22 18:32:46 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/baad79f91de6ea9fd9ecc1b94980d71f2e7b92c1
Cr-Commit-Position: refs/heads/master@{#440454}

Powered by Google App Engine
This is Rietveld 408576698