summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorTakuto Ikuta <tikuta@google.com>2018-10-17 16:36:11 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-17 16:36:11 +0000
commita358d622339d022e3723525141900365caf55ca1 (patch)
treedd07916d7faf4e297c24be8ead95d559e539bdd6 /fpdfsdk
parentb01628451a54d0f503d6e93d2322fd9e179d2532 (diff)
downloadpdfium-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.cpp2
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 {