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

Issue 11778080: Fix member variable order in WebGestureCurve implementations (Closed)

Created:
7 years, 11 months ago by jamesr
Modified:
7 years, 11 months ago
Reviewers:
tony
CC:
chromium-reviews, darin-cc_chromium.org, rjkroege
Visibility:
Public.

Description

Fix member variable order in WebGestureCurve implementations The call to scrollBy() can result in the curve going away, so it's unsafe to touch member variables after making the call. Covered by webkit_unit_tests. BUG=169156 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176037

Patch Set 1 #

Patch Set 2 : fix typo in fling_animator_impl_android #

Patch Set 3 : add comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
webkit/glue/fling_animator_impl_android.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
webkit/glue/touch_fling_gesture_curve.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
webkit/support/web_gesture_curve_mock.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
jamesr
7 years, 11 months ago (2013-01-10 01:00:38 UTC) #1
tony
LGTM
7 years, 11 months ago (2013-01-10 01:03:24 UTC) #2
tony
Nit: Maybe comment that scrollBy can destroy the curve?
7 years, 11 months ago (2013-01-10 01:03:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11778080/8001
7 years, 11 months ago (2013-01-10 01:17:58 UTC) #4
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 06:48:47 UTC) #5
Message was sent while issue was closed.
Change committed as 176037

Powered by Google App Engine
This is Rietveld 408576698