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

Issue 2322743002: Replace CJS_Runtime::Observer with CFX_Runtime<CJS_Runtime>::Observer (Closed)

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

Description

Replace CJS_Runtime::Observer with CFX_Runtime<CJS_Runtime>::Observer Previously, the observer set a flag which conditionalized a null pointer return. Now, we just clear the pointer. Destruction order matters, so add a method to trigger notifications. Committed: https://pdfium.googlesource.com/pdfium/+/8832fbf53cf71d4d4cb53986d9cfc024edd2bf1f

Patch Set 1 #

Patch Set 2 : Order matters #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -48 lines) Patch
M core/fxcrt/include/cfx_observable.h View 1 2 chunks +6 lines, -4 lines 0 comments Download
M fpdfsdk/javascript/app.cpp View 5 chunks +5 lines, -18 lines 0 comments Download
M fpdfsdk/javascript/cjs_runtime.h View 4 chunks +4 lines, -13 lines 0 comments Download
M fpdfsdk/javascript/cjs_runtime.cpp View 1 2 chunks +1 line, -13 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
Tom Sepez
Lei, for review.
4 years, 3 months ago (2016-09-07 21:56:23 UTC) #2
Lei Zhang
lgtm
4 years, 3 months ago (2016-09-07 22:06:54 UTC) #4
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/2322743002/1
4 years, 3 months ago (2016-09-07 22:35:02 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_xfa on master.tryserver.client.pdfium (JOB_FAILED, https://build.chromium.org/p/tryserver.client.pdfium/builders/linux_xfa/builds/1984)
4 years, 3 months ago (2016-09-07 22:42:34 UTC) #9
Tom Sepez
Lei, I lied, looks like the order matters.
4 years, 3 months ago (2016-09-07 23:59:15 UTC) #13
Lei Zhang
lgtm, hope you can convince the bots to come back from their strike.
4 years, 3 months ago (2016-09-08 00:02:25 UTC) #16
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/2322743002/20001
4 years, 3 months ago (2016-09-08 17:13:41 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 17:25:58 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/8832fbf53cf71d4d4cb53986d9cfc024edd2...

Powered by Google App Engine
This is Rietveld 408576698