blob: 6036ec7823552dc8c4e975180110ed9b9567514b [file] [log] [blame]
// 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 "core/css/CSSStringValue.h"
#include "core/css/CSSMarkup.h"
#include "platform/wtf/text/WTFString.h"
namespace blink {
CSSStringValue::CSSStringValue(const String& str)
: CSSValue(kStringClass), string_(str) {}
String CSSStringValue::CustomCSSText() const {
return SerializeString(string_);
}
void CSSStringValue::TraceAfterDispatch(blink::Visitor* visitor) {
CSSValue::TraceAfterDispatch(visitor);
}
} // namespace blink