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

Issue 7064012: In PageClickTracker, only store last clicked node if it's significant. (Closed)

Created:
9 years, 7 months ago by dpanpong
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

In PageClickTracker: As soon as we start to handle an event, filter against the type of nodes we care about (only text fields), rather than waiting to filter in DidHandleMouseEvent(). Otherwise, PageClickTracker could hold a reference to the node until the next mouse event, potentially keeping the node alive for longer than necessary. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86759

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -11 lines) Patch
M chrome/renderer/page_click_tracker.cc View 1 3 chunks +29 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dpanpong
Hi Jay, Would you be able to take a look at this? Thanks! http://codereview.chromium.org/7064012/diff/1/chrome/renderer/page_click_tracker.cc File ...
9 years, 7 months ago (2011-05-24 01:21:40 UTC) #1
Jay Civelli
This looks good, just a suggestion below. http://codereview.chromium.org/7064012/diff/1/chrome/renderer/page_click_tracker.cc File chrome/renderer/page_click_tracker.cc (right): http://codereview.chromium.org/7064012/diff/1/chrome/renderer/page_click_tracker.cc#newcode32 chrome/renderer/page_click_tracker.cc:32: // Returns ...
9 years, 7 months ago (2011-05-24 04:47:25 UTC) #2
dpanpong
Thanks for the review, Jay! If it looks good, could you send it to the ...
9 years, 7 months ago (2011-05-24 17:10:26 UTC) #3
commit-bot: I haz the power
No LGTM from valid reviewers yet.
9 years, 7 months ago (2011-05-24 23:27:16 UTC) #4
Jay Civelli
LGTM
9 years, 7 months ago (2011-05-24 23:27:43 UTC) #5
commit-bot: I haz the power
Try job failure for 7064012-4001 on mac: http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=28746
9 years, 7 months ago (2011-05-25 01:06:46 UTC) #6
dpanpong
On 2011/05/25 01:06:46, commit-bot wrote: > Try job failure for 7064012-4001 on mac: > http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac&number=28746 ...
9 years, 7 months ago (2011-05-25 17:09:49 UTC) #7
commit-bot: I haz the power
9 years, 7 months ago (2011-05-26 01:09:49 UTC) #8
Change committed as 86759

Powered by Google App Engine
This is Rietveld 408576698