summaryrefslogtreecommitdiff
path: root/xfa/fde/css/cfde_csstagcache.h
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2017-02-02 13:56:25 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-02-02 22:18:38 +0000
commit44b297bb2c948ee4fb1e67301f31e4e7f70e48d7 (patch)
tree86b4201fea5ed4a47bda5c721a8446211cc75486 /xfa/fde/css/cfde_csstagcache.h
parent4bd0d99c11102514fb43328b67b7674165888619 (diff)
downloadpdfium-chromium/3001.tar.xz
Clean up CSS code to match styles.chromium/3001
Simplify the code to what we support, remove unnecessary classes. Change-Id: I7af79a4720e0c95c609f163ebb86cf67d643add1 Reviewed-on: https://pdfium-review.googlesource.com/2430 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fde/css/cfde_csstagcache.h')
-rw-r--r--xfa/fde/css/cfde_csstagcache.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/xfa/fde/css/cfde_csstagcache.h b/xfa/fde/css/cfde_csstagcache.h
deleted file mode 100644
index dae35fb479..0000000000
--- a/xfa/fde/css/cfde_csstagcache.h
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2017 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef XFA_FDE_CSS_CFDE_CSSTAGCACHE_H_
-#define XFA_FDE_CSS_CFDE_CSSTAGCACHE_H_
-
-#include <vector>
-
-#include "core/fxcrt/fx_system.h"
-#include "third_party/base/stl_util.h"
-
-class CXFA_CSSTagProvider;
-
-class CFDE_CSSTagCache {
- public:
- CFDE_CSSTagCache(CFDE_CSSTagCache* parent, CXFA_CSSTagProvider* tag);
- ~CFDE_CSSTagCache();
-
- CFDE_CSSTagCache* GetParent() const { return pParent; }
- CXFA_CSSTagProvider* GetTag() const { return pTag; }
- uint32_t HashTag() const { return dwTagHash; }
-
- private:
- CXFA_CSSTagProvider* pTag;
- CFDE_CSSTagCache* pParent;
- uint32_t dwTagHash;
-};
-
-#endif // XFA_FDE_CSS_CFDE_CSSTAGCACHE_H_