Index: third_party/WebKit/Source/core/css/CSSStringValueBase.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSStringValueBase.cpp b/third_party/WebKit/Source/core/css/CSSStringValueBase.cpp |
deleted file mode 100644 |
index 5dfcf0d364a1080f324879b0c9894aa1d90a8b1e..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/css/CSSStringValueBase.cpp |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-// Copyright 2015 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "config.h" |
-#include "core/css/CSSStringValueBase.h" |
- |
-#include "core/css/CSSMarkup.h" |
-#include "wtf/text/WTFString.h" |
- |
-namespace blink { |
- |
-template<> CSSStringValueBase<StringValueClass::StringClass>::CSSStringValueBase(const String& str) |
- : CSSValue(CSSValue::StringClass) |
- , m_string(str) { } |
- |
-template<> CSSStringValueBase<StringValueClass::CustomIdentClass>::CSSStringValueBase(const String& str) |
- : CSSValue(CSSValue::CustomIdentClass) |
- , m_string(str) { } |
- |
-template<> CSSStringValueBase<StringValueClass::URIClass>::CSSStringValueBase(const String& str) |
- : CSSValue(CSSValue::URIClass) |
- , m_string(str) { } |
- |
-template<> String CSSStringValueBase<StringValueClass::StringClass>::customCSSText() const |
-{ |
- return serializeString(m_string); |
-} |
- |
-template<> String CSSStringValueBase<StringValueClass::CustomIdentClass>::customCSSText() const |
-{ |
- return quoteCSSStringIfNeeded(m_string); |
-} |
- |
-template<> String CSSStringValueBase<StringValueClass::URIClass>::customCSSText() const |
-{ |
- return "url(" + quoteCSSURLIfNeeded(m_string) + ")"; |
-} |
- |
-} // namespace blink |