| Index: third_party/WebKit/Source/core/css/CSSStringValue.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSStringValue.cpp b/third_party/WebKit/Source/core/css/CSSStringValue.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..302a6b02128f22119093976e843e883022fd15dd
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/css/CSSStringValue.cpp
|
| @@ -0,0 +1,27 @@
|
| +// 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/CSSStringValue.h"
|
| +
|
| +#include "core/css/CSSMarkup.h"
|
| +#include "wtf/text/WTFString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +CSSStringValue::CSSStringValue(const String& str)
|
| + : CSSValue(StringClass)
|
| + , m_string(str) { }
|
| +
|
| +String CSSStringValue::customCSSText() const
|
| +{
|
| + return serializeString(m_string);
|
| +}
|
| +
|
| +DEFINE_TRACE_AFTER_DISPATCH(CSSStringValue)
|
| +{
|
| + CSSValue::traceAfterDispatch(visitor);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|