diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:21:34 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-02-17 13:21:34 -0800 |
commit | 2da7bd4d78897bed52fe1304694f4e970db65e58 (patch) | |
tree | cf3f87f8808b908510a3cb80860e712e80c7266f /fpdfsdk/src/javascript/Icon.cpp | |
parent | 7435e8e5c2f1163ec5eca79a3ac6c3920d490578 (diff) | |
download | pdfium-2da7bd4d78897bed52fe1304694f4e970db65e58.tar.xz |
Tidy up JS_Defines.h
This is a purely mechanical change, no new functionality.
- Expand some macros which were merely a short-cut to save
typing but reduced transparency.
- Put GET_VALUE_TYPE() implementation into a .cpp file.
This is a portion of the patch from issue 908033002 at
patchset 40001 (http://crrev.com/908033002#ps40001)
R=brucedawson@chromium.org
Review URL: https://codereview.chromium.org/927263003
Diffstat (limited to 'fpdfsdk/src/javascript/Icon.cpp')
-rw-r--r-- | fpdfsdk/src/javascript/Icon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/javascript/Icon.cpp b/fpdfsdk/src/javascript/Icon.cpp index 286980c205..333d1f864a 100644 --- a/fpdfsdk/src/javascript/Icon.cpp +++ b/fpdfsdk/src/javascript/Icon.cpp @@ -57,7 +57,7 @@ CFX_WideString Icon::GetIconName() return m_swIconName; } -FX_BOOL Icon::name(OBJ_PROP_PARAMS) +FX_BOOL Icon::name(IFXJS_Context* cc, CJS_PropValue& vp, JS_ErrorString& sError) { if(!vp.IsGetting())return FALSE; |