summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfsave.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-06-20 06:06:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-20 06:06:31 -0700
commit7d554c9dabeb7474dbdabbbf7d01a4abaa7f65a0 (patch)
tree4a7252845510ae272d5eb94cdd24930972412c1c /fpdfsdk/fpdfsave.cpp
parenteec3a366adbfada36b98f1de651546ee09df8fc0 (diff)
downloadpdfium-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 'fpdfsdk/fpdfsave.cpp')
0 files changed, 0 insertions, 0 deletions