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

Issue 2096003002: Fix crash when InkDropHostView::SetHasInkDrop() is called multiple times (Closed)

Created:
4 years, 6 months ago by mohsen
Modified:
4 years, 5 months ago
Reviewers:
sadrul
CC:
bruthig+ink_drop_chromium.org, chromium-reviews, dcheng, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash when InkDropHostView::SetHasInkDrop() is called multiple times InkDropHostView installs an InkDropGestureHandler which owns a ScopedTargetHandler. Multiple ScopedTargetHandler's should be nested properly, so an InkDropGestureHandler cannot be deleted just after another one is created. BUG=622905 Committed: https://crrev.com/533291a92875833fd30652a5c937137aa1119b49 Cr-Commit-Position: refs/heads/master@{#402518}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed review comments #

Patch Set 3 : Added test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -2 lines) Patch
M ui/views/animation/ink_drop_host_view.cc View 1 3 chunks +8 lines, -2 lines 0 comments Download
M ui/views/animation/ink_drop_host_view_unittest.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M ui/views/animation/test/ink_drop_host_view_test_api.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/animation/test/ink_drop_host_view_test_api.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
mohsen
sadrul@: Can you please take a look? (bruthig@ is OOO for a few days)
4 years, 6 months ago (2016-06-24 17:24:35 UTC) #2
sadrul
https://codereview.chromium.org/2096003002/diff/1/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (right): https://codereview.chromium.org/2096003002/diff/1/ui/views/animation/ink_drop_host_view.cc#newcode43 ui/views/animation/ink_drop_host_view.cc:43: // delete the old one, if any, *before* instantiating ...
4 years, 6 months ago (2016-06-26 03:51:31 UTC) #3
mohsen
https://codereview.chromium.org/2096003002/diff/1/ui/views/animation/ink_drop_host_view.cc File ui/views/animation/ink_drop_host_view.cc (right): https://codereview.chromium.org/2096003002/diff/1/ui/views/animation/ink_drop_host_view.cc#newcode43 ui/views/animation/ink_drop_host_view.cc:43: // delete the old one, if any, *before* instantiating ...
4 years, 5 months ago (2016-06-27 18:59:10 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2096003002/20001
4 years, 5 months ago (2016-06-27 22:09:03 UTC) #6
sadrul
lgtm (can this have a test?)
4 years, 5 months ago (2016-06-27 22:10:24 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 5 months ago (2016-06-28 01:07:41 UTC) #9
mohsen
Added a test
4 years, 5 months ago (2016-06-28 03:08:38 UTC) #11
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/2096003002/40001
4 years, 5 months ago (2016-06-28 17:02:45 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-28 20:18:09 UTC) #15
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 20:19:45 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/533291a92875833fd30652a5c937137aa1119b49
Cr-Commit-Position: refs/heads/master@{#402518}

Powered by Google App Engine
This is Rietveld 408576698