diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-07 12:52:13 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-07 12:52:13 -0700 |
commit | 213a172779fddbd7e588ee2e2b3906ccc47d6896 (patch) | |
tree | 616a1277bf9f6cc007c2408a4cf0c0e7abfe67c3 /fpdfsdk/src/javascript/Icon.cpp | |
parent | 4401d4095d1306fa844170d70ae7647bc10f2d2d (diff) | |
download | pdfium-213a172779fddbd7e588ee2e2b3906ccc47d6896.tar.xz |
Rename IFXJS_Runtime and IFXJS_Context to IJS_.
Nothing but sed.
FXJS is a layer that makes it easier to define objects in V8, but has
no knowledge of PDF-specific native objects. It could in theory be used
to implement other sets of native objects.
JS is the layer that implements PDF-specific native objects on top of
FXJS.
Therefore, the classes used to interface to JS should be named using
IJS_. IFXJS_ is reserved for someday adding better API for FXJS iteslf.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1386173002 .
Diffstat (limited to 'fpdfsdk/src/javascript/Icon.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/Icon.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fpdfsdk/src/javascript/Icon.cpp b/fpdfsdk/src/javascript/Icon.cpp index 044a38ee2e..5dfa7a08d4 100644 --- a/fpdfsdk/src/javascript/Icon.cpp +++ b/fpdfsdk/src/javascript/Icon.cpp @@ -47,9 +47,7 @@ CFX_WideString Icon::GetIconName() { return m_swIconName; } -FX_BOOL Icon::name(IFXJS_Context* cc, - CJS_PropValue& vp, - CFX_WideString& sError) { +FX_BOOL Icon::name(IJS_Context* cc, CJS_PropValue& vp, CFX_WideString& sError) { if (!vp.IsGetting()) return FALSE; |