Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Issue 1342223003: Merge to M46: Resolve bad cast to CJS_EventHandler (Closed)

Created:
5 years, 3 months ago by Lei Zhang
Modified:
5 years, 3 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@2490
Target Ref:
refs/heads/chromium/2490
Visibility:
Public.

Description

Merge to M46: 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 TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1325753007 . (cherry picked from commit 4ea0e6b972b0c6f6c9ad3f45a66a733d8dc3ca96) Committed: https://pdfium.googlesource.com/pdfium/+/4ec709d97e01f0a7ded849986f535219e5383f06

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M fpdfsdk/src/javascript/PublicMethods.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lei Zhang
TBR
5 years, 3 months ago (2015-09-15 23:59:20 UTC) #1
Lei Zhang
5 years, 3 months ago (2015-09-15 23:59:55 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
4ec709d97e01f0a7ded849986f535219e5383f06 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698