summaryrefslogtreecommitdiff
path: root/core/fxcrt/css/cfx_csscolorvalue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/css/cfx_csscolorvalue.cpp')
-rw-r--r--core/fxcrt/css/cfx_csscolorvalue.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/fxcrt/css/cfx_csscolorvalue.cpp b/core/fxcrt/css/cfx_csscolorvalue.cpp
new file mode 100644
index 0000000000..8c5473b329
--- /dev/null
+++ b/core/fxcrt/css/cfx_csscolorvalue.cpp
@@ -0,0 +1,12 @@
+// 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
+
+#include "core/fxcrt/css/cfx_csscolorvalue.h"
+
+CFX_CSSColorValue::CFX_CSSColorValue(FX_ARGB value)
+ : CFX_CSSValue(CFX_CSSPrimitiveType::RGB), value_(value) {}
+
+CFX_CSSColorValue::~CFX_CSSColorValue() {}