diff options
author | Takuto Ikuta <tikuta@google.com> | 2018-10-17 16:36:11 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-17 16:36:11 +0000 |
commit | a358d622339d022e3723525141900365caf55ca1 (patch) | |
tree | dd07916d7faf4e297c24be8ead95d559e539bdd6 /fpdfsdk | |
parent | b01628451a54d0f503d6e93d2322fd9e179d2532 (diff) | |
download | pdfium-a358d622339d022e3723525141900365caf55ca1.tar.xz |
Remove unused lambda capture
This is a preparation CL to remove -Wno-unused-lambda-capture warning suppression.
Bug: chromium:681136
Change-Id: I0fccfd33e10757b282b45079f29b511951decc41
Reviewed-on: https://pdfium-review.googlesource.com/c/44190
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/cpdfsdk_actionhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_actionhandler.cpp b/fpdfsdk/cpdfsdk_actionhandler.cpp index c9ef6bcdfb..a3df789f2d 100644 --- a/fpdfsdk/cpdfsdk_actionhandler.cpp +++ b/fpdfsdk/cpdfsdk_actionhandler.cpp @@ -296,7 +296,7 @@ bool CPDFSDK_ActionHandler::ExecuteBookMark( ASSERT(pFormFillEnv); if (action.GetType() == CPDF_Action::JavaScript) { RunScriptForAction(action, pFormFillEnv, - [pFormFillEnv, pBookmark](IJS_EventContext* context) { + [pBookmark](IJS_EventContext* context) { context->OnBookmark_MouseUp(pBookmark); }); } else { |