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

Issue 2214003003: Fix issue when firing TimerProc() destroys timer (Closed)

Created:
4 years, 4 months ago by Tom Sepez
Modified:
4 years, 4 months ago
Reviewers:
Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix issue when firing TimerProc() destroys timer We must look the timer up a second time since the callback may have released it. BUG=634394 Committed: https://pdfium.googlesource.com/pdfium/+/32e693fe13105fab5baf81b334e932fce62d89b5

Patch Set 1 #

Total comments: 2

Patch Set 2 : Beware of duplicate timer ids #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -19 lines) Patch
M fpdfsdk/fpdfformfill_embeddertest.cpp View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
M fpdfsdk/javascript/JS_Object.cpp View 1 1 chunk +19 lines, -10 lines 0 comments Download
A + testing/resources/bug_634394.in View 1 2 1 chunk +6 lines, -4 lines 0 comments Download
A + testing/resources/bug_634394.pdf View 1 2 2 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
Tom Sepez
Lei, for review. The thought of this crossed my mind while fixing the other bug.
4 years, 4 months ago (2016-08-04 18:33:10 UTC) #4
Lei Zhang
https://codereview.chromium.org/2214003003/diff/1/fpdfsdk/javascript/JS_Object.cpp File fpdfsdk/javascript/JS_Object.cpp (right): https://codereview.chromium.org/2214003003/diff/1/fpdfsdk/javascript/JS_Object.cpp#newcode130 fpdfsdk/javascript/JS_Object.cpp:130: // Timer proc may have destroyed timer, find it ...
4 years, 4 months ago (2016-08-04 19:02:40 UTC) #5
Tom Sepez
https://codereview.chromium.org/2214003003/diff/1/fpdfsdk/javascript/JS_Object.cpp File fpdfsdk/javascript/JS_Object.cpp (right): https://codereview.chromium.org/2214003003/diff/1/fpdfsdk/javascript/JS_Object.cpp#newcode130 fpdfsdk/javascript/JS_Object.cpp:130: // Timer proc may have destroyed timer, find it ...
4 years, 4 months ago (2016-08-04 19:12:40 UTC) #6
Lei Zhang
lgtm
4 years, 4 months ago (2016-08-04 19:19:47 UTC) #7
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/2214003003/20001
4 years, 4 months ago (2016-08-04 19:21:44 UTC) #9
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/2214003003/40001
4 years, 4 months ago (2016-08-04 19:26:09 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 19:47:45 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/32e693fe13105fab5baf81b334e932fce62d...

Powered by Google App Engine
This is Rietveld 408576698