summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-05 17:05:31 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-05 17:05:31 -0800
commitc5b40ba5c4f993fa2445ad7db0c98de80aa43514 (patch)
tree59a6c44eea7200069ccf858bbef46ec67f3973fc
parent45856be7b6658aaf7fe943d9e0f285811e98b6a7 (diff)
downloadpdfium-c5b40ba5c4f993fa2445ad7db0c98de80aa43514.tar.xz
Merge to XFA: Document::DoAnnotDelay and m_DelayAnnotData member unused.
Orignal Review URL: https://codereview.chromium.org/1565613002 . (cherry picked from commit 685c3130da63bd1eea1281f29bf1ee4f22f03129) R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1562653002 .
-rw-r--r--fpdfsdk/src/javascript/Document.cpp13
-rw-r--r--fpdfsdk/src/javascript/Document.h3
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 {