Resolve bad cast to CJS_EventHandler
authorfoxit <jun_fang@foxitsoftware.com>
Thu, 10 Sep 2015 06:57:54 +0000 (14:57 +0800)
committerfoxit <jun_fang@foxitsoftware.com>
Thu, 10 Sep 2015 06:57:54 +0000 (14:57 +0800)
commit4ea0e6b972b0c6f6c9ad3f45a66a733d8dc3ca96
tree238c6ba07ba291fbfebe2242cb7e7de44dc81156
parent8ead9036aab18d45498e310866210dfff20da188
Resolve bad cast to CJS_EventHandler

At line 2026 in pdfsdk/src/javascript/PublicMethods.cpp,
the writer wants to perform type cast like line 2027 but
he made a mistake to make type conversion on m_pValue.
Even at line 2027, it's redundant to make type conversion.
The returned type of pContext->GetEventHandler() is
CJS_EventHandler*.

BUG=529310
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1325753007 .
fpdfsdk/src/javascript/PublicMethods.cpp