From a358d622339d022e3723525141900365caf55ca1 Mon Sep 17 00:00:00 2001 From: Takuto Ikuta Date: Wed, 17 Oct 2018 16:36:11 +0000 Subject: 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 Reviewed-by: Lei Zhang --- fpdfsdk/cpdfsdk_actionhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk') 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 { -- cgit v1.2.3