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

Issue 1367813003: Introduce kPerIsolateDataIndex and tidy JS_Define.h (Closed)

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

Description

Introduce kPerIsolateDataIndex and tidy JS_Define.h Follow-up from https://codereview.chromium.org/1366053003/ - use kPerIsolateDataIndex rather than magic constant 1. - make a helper function for common code in JS_Define.h - remove dead prototypes missed in earlier CL. - fxjs_v8 can't include generic fpdfsdk includes (layering). R=jochen@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/cfff2f65aaec70247d020188bc68a0dc4fb34c3e

Patch Set 1 #

Total comments: 3

Patch Set 2 : SetAlignedPointerInEmbedderData #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -47 lines) Patch
M fpdfsdk/include/javascript/JS_Define.h View 7 chunks +14 lines, -35 lines 0 comments Download
M fpdfsdk/include/jsapi/fxjs_v8.h View 2 chunks +1 line, -4 lines 0 comments Download
M fpdfsdk/src/jsapi/fxjs_v8.cpp View 1 5 chunks +18 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Tom Sepez
Jochen, for review, but also a question. https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp File fpdfsdk/src/jsapi/fxjs_v8.cpp (right): https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp#newcode283 fpdfsdk/src/jsapi/fxjs_v8.cpp:283: v8::Local<v8::External> ptr ...
5 years, 2 months ago (2015-09-25 17:32:18 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp File fpdfsdk/src/jsapi/fxjs_v8.cpp (right): https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp#newcode283 fpdfsdk/src/jsapi/fxjs_v8.cpp:283: v8::Local<v8::External> ptr = v8::External::New(pIsolate, pFXRuntime); On 2015/09/25 at 17:32:18, ...
5 years, 2 months ago (2015-09-28 11:27:31 UTC) #3
Tom Sepez
OK, please take another look. https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp File fpdfsdk/src/jsapi/fxjs_v8.cpp (right): https://codereview.chromium.org/1367813003/diff/1/fpdfsdk/src/jsapi/fxjs_v8.cpp#newcode283 fpdfsdk/src/jsapi/fxjs_v8.cpp:283: v8::Local<v8::External> ptr = v8::External::New(pIsolate, ...
5 years, 2 months ago (2015-09-28 16:20:18 UTC) #4
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-09-28 16:30:59 UTC) #5
Tom Sepez
5 years, 2 months ago (2015-09-28 16:44:59 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
cfff2f65aaec70247d020188bc68a0dc4fb34c3e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698