From 23213b2750e33dfe96b091b78ec8b10fe4d73a67 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 1 Sep 2015 13:53:19 -0700 Subject: CPDFSDK_MediaActionHandler is unused. It's never instantiated, and any pointers to it are always NULL. Also kill an unused arg to CPDFSDK_ActionHandler ctor along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1329583004 . --- fpdfsdk/src/fsdk_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdfsdk/src/fsdk_mgr.cpp') diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp index fa270cc289..3eca559285 100644 --- a/fpdfsdk/src/fsdk_mgr.cpp +++ b/fpdfsdk/src/fsdk_mgr.cpp @@ -396,7 +396,7 @@ CPDFSDK_AnnotHandlerMgr* CPDFDoc_Environment::GetAnnotHandlerMgr() { CPDFSDK_ActionHandler* CPDFDoc_Environment::GetActionHander() { if (!m_pActionHandler) - m_pActionHandler = new CPDFSDK_ActionHandler(this); + m_pActionHandler = new CPDFSDK_ActionHandler(); return m_pActionHandler; } -- cgit v1.2.3