diff options
author | dsinclair <dsinclair@chromium.org> | 2016-06-20 06:06:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-20 06:06:31 -0700 |
commit | 7d554c9dabeb7474dbdabbbf7d01a4abaa7f65a0 (patch) | |
tree | 4a7252845510ae272d5eb94cdd24930972412c1c /core/fxcodec/codec | |
parent | eec3a366adbfada36b98f1de651546ee09df8fc0 (diff) | |
download | pdfium-7d554c9dabeb7474dbdabbbf7d01a4abaa7f65a0.tar.xz |
Speculative fix for FXJS_InitializeRuntime crash.
The call to GetGlobalObjectTemplate() in FXJS_InitializeRuntime() will call
into CFXJS_ObjDefinition::MaxID() which will call FXJS_PerIsolateData() on
the provided isolate. We, currently, create the isolate data after we make this
call which seems like it would lead to bad things. This CL moves the PerIsolate
data creation earlier in the process.
BUG=chromium:612918
Review-Url: https://codereview.chromium.org/2069763002
Diffstat (limited to 'core/fxcodec/codec')
0 files changed, 0 insertions, 0 deletions