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

Issue 2540143004: Prevent a crash if the window was deleted while in a drag runloop (Closed)

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

Description

Prevent a crash if the window was deleted while in a drag runloop The CL https://codereview.chromium.org/2494713003/ caused a crash in WorkspaceEventHandlerTest.DeleteWhileInRunLoop. This CL adds a tracker for the window deletion. BUG=626761 TEST=ash_unittests --gtest_filter=WorkspaceEventHandlerTest.DeleteWhileInRunLoop

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M ash/wm/toplevel_window_event_handler.cc View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 4 (2 generated)
afakhry
Oshima, please review.
4 years ago (2016-12-01 20:55:05 UTC) #2
oshima
4 years ago (2016-12-01 22:38:27 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698