diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-02-21 13:57:13 -0800 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-21 22:43:48 +0000 |
commit | 892d7510db7015b1835d8e057a716518881f126d (patch) | |
tree | f57ce39c39e1fd4b20312819c6a9cd795c7e96df /fxjs/fxjs_v8.h | |
parent | d476adcab3b1b79b921c0003f8d8caad1bb1d00b (diff) | |
download | pdfium-892d7510db7015b1835d8e057a716518881f126d.tar.xz |
Avoid some widestring to bytestring conversions in fxjs.
None of the names have non-ascii characters.
Change-Id: I83a52d6276edf2f442fca33221f38f6a53c3ffe3
Reviewed-on: https://pdfium-review.googlesource.com/2816
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs/fxjs_v8.h')
-rw-r--r-- | fxjs/fxjs_v8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/fxjs_v8.h b/fxjs/fxjs_v8.h index e82218f43c..541566f6d0 100644 --- a/fxjs/fxjs_v8.h +++ b/fxjs/fxjs_v8.h @@ -142,7 +142,7 @@ class CFXJS_Engine { v8::Isolate* GetIsolate() const { return m_isolate; } // Always returns a valid, newly-created objDefnID. - int DefineObj(const wchar_t* sObjName, + int DefineObj(const char* sObjName, FXJSOBJTYPE eObjType, Constructor pConstructor, Destructor pDestructor); |