diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-01-05 16:59:02 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-01-05 16:59:02 -0800 |
commit | 685c3130da63bd1eea1281f29bf1ee4f22f03129 (patch) | |
tree | d193d5e46aa75a2e6ff7b28eb3d20f28ff0dc29c /fpdfsdk | |
parent | 6caae4d3c6815c5a1e12340734412a3bc7548652 (diff) | |
download | pdfium-685c3130da63bd1eea1281f29bf1ee4f22f03129.tar.xz |
Document::DoAnnotDelay and m_DelayAnnotData member unused.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1565613002 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r-- | fpdfsdk/src/javascript/Document.cpp | 13 | ||||
-rw-r--r-- | fpdfsdk/src/javascript/Document.h | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp index 0a85cece89..9a434a5db7 100644 --- a/fpdfsdk/src/javascript/Document.cpp +++ b/fpdfsdk/src/javascript/Document.cpp @@ -159,7 +159,6 @@ Document::~Document() { } m_DelayData.RemoveAll(); - m_DelayAnnotData.RemoveAll(); } // the total number of fileds in document. @@ -1700,18 +1699,6 @@ void Document::DoFieldDelay(const CFX_WideString& sFieldName, } } -void Document::AddDelayAnnotData(CJS_AnnotObj* pData) { - m_DelayAnnotData.Add(pData); -} - -void Document::DoAnnotDelay() { - CFX_DWordArray DelArray; - - for (int j = DelArray.GetSize() - 1; j >= 0; j--) { - m_DelayData.RemoveAt(DelArray[j]); - } -} - CJS_Document* Document::GetCJSDoc() const { return static_cast<CJS_Document*>(m_pJSObject); } diff --git a/fpdfsdk/src/javascript/Document.h b/fpdfsdk/src/javascript/Document.h index 350ab05682..94860fc425 100644 --- a/fpdfsdk/src/javascript/Document.h +++ b/fpdfsdk/src/javascript/Document.h @@ -267,8 +267,6 @@ class Document : public CJS_EmbedObj { CFX_ByteString& strFolderName); void AddDelayData(CJS_DelayData* pData); void DoFieldDelay(const CFX_WideString& sFieldName, int nControlIndex); - void AddDelayAnnotData(CJS_AnnotObj* pData); - void DoAnnotDelay(); void SetIsolate(v8::Isolate* isolate) { m_isolate = isolate; } CJS_Document* GetCJSDoc() const; @@ -285,7 +283,6 @@ class Document : public CJS_EmbedObj { CFX_WideString m_cwBaseURL; bool m_bDelay; CFX_ArrayTemplate<CJS_DelayData*> m_DelayData; - CFX_ArrayTemplate<CJS_AnnotObj*> m_DelayAnnotData; }; class CJS_Document : public CJS_Object { |