Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(53)

Issue 1198193005: Fixed memory issues with EventHandler::TouchInfo. (Closed)

Created:
4 years, 10 months ago by mustaq
Modified:
4 years, 10 months ago
Reviewers:
haraken, sof, Rick Byers
CC:
blink-reviews, oilpan-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fixed memory issues with EventHandler::TouchInfo. Switched the type of TouchInfo.touchTarget to a ref-counted type, and made the TouchInfo vector oilpan-compliant. BUG=502793 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197822

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : Made TouchInfo oilpan-compliant. #

Patch Set 4 : Fixed oilpan build, removed LocalFrame raw ptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -26 lines) Patch
M Source/core/input/EventHandler.h View 1 2 3 3 chunks +22 lines, -12 lines 0 comments Download
M Source/core/input/EventHandler.cpp View 1 2 3 7 chunks +13 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
mustaq
ptal, verified that the "minimized testcase" mentioned in the bug works after the fix.
4 years, 10 months ago (2015-06-22 16:38:12 UTC) #2
Rick Byers
This looks right for ref counting, but will probably still be broken in oilpan builds. ...
4 years, 10 months ago (2015-06-22 17:15:48 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1198193005/20001
4 years, 10 months ago (2015-06-22 20:53:06 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/60164)
4 years, 10 months ago (2015-06-22 22:48:07 UTC) #7
haraken
Sorry that Oilpan is causing trouble... https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h File Source/core/input/EventHandler.h (right): https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h#newcode321 Source/core/input/EventHandler.h:321: using TouchInfo = ...
4 years, 10 months ago (2015-06-22 23:40:35 UTC) #9
haraken
Also make sure that the CL compiles with 'enable_oilpan=1 blink_gc_plugin=1'. It will detect most oilpan-related ...
4 years, 10 months ago (2015-06-22 23:41:20 UTC) #10
mustaq
ptal. Also tested the oilpan build, seems fine now but had to make TouchInfo public. ...
4 years, 10 months ago (2015-06-23 15:25:51 UTC) #11
sof
https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h File Source/core/input/EventHandler.h (right): https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h#newcode321 Source/core/input/EventHandler.h:321: using TouchInfo = struct { On 2015/06/23 15:25:51, mustaq ...
4 years, 10 months ago (2015-06-23 15:57:35 UTC) #12
mustaq
https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h File Source/core/input/EventHandler.h (right): https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h#newcode321 Source/core/input/EventHandler.h:321: using TouchInfo = struct { On 2015/06/23 15:57:34, sof ...
4 years, 10 months ago (2015-06-23 16:36:27 UTC) #13
sof
https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h File Source/core/input/EventHandler.h (right): https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h#newcode321 Source/core/input/EventHandler.h:321: using TouchInfo = struct { On 2015/06/23 16:36:27, mustaq ...
4 years, 10 months ago (2015-06-23 18:52:02 UTC) #15
mustaq
ptal, addressed all comments. https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h File Source/core/input/EventHandler.h (right): https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h#newcode321 Source/core/input/EventHandler.h:321: using TouchInfo = struct { ...
4 years, 10 months ago (2015-06-24 14:47:52 UTC) #18
sof
lgtm. thanks for doing the Oilpan iterations, appreciated.
4 years, 10 months ago (2015-06-25 05:15:43 UTC) #19
sof
On 2015/06/24 14:47:52, mustaq wrote: > ptal, addressed all comments. > > https://codereview.chromium.org/1198193005/diff/20001/Source/core/input/EventHandler.h > File ...
4 years, 10 months ago (2015-06-25 09:05:04 UTC) #20
haraken
LGTM
4 years, 10 months ago (2015-06-25 09:15:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1198193005/100001
4 years, 10 months ago (2015-06-25 13:35:33 UTC) #23
commit-bot: I haz the power
4 years, 10 months ago (2015-06-25 14:55:13 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197822

Powered by Google App Engine
This is Rietveld 408576698