Commit 1b4014d9 authored by Zhuoyu Qian's avatar Zhuoyu Qian Committed by Commit Bot

Put CSSFontStyleRangeValue into the blink::cssvalue namespace.

This is part of the gradual process of putting all types that derive
from CSSValue into blink::cssvalue:: namespace.

Bug: 667961
Signed-off-by: default avatarZhuoyu Qian <zhuoyu.qian@samsung.com>
Change-Id: Ia34819a0518e339ed2d310361452355207346801
Reviewed-on: https://chromium-review.googlesource.com/956165Reviewed-by: default avatarRune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543339}
parent bbe07679
......@@ -28,6 +28,7 @@
#include "platform/wtf/text/StringBuilder.h"
namespace blink {
namespace cssvalue {
String CSSFontStyleRangeValue::CustomCSSText() const {
if (!oblique_values_)
......@@ -53,4 +54,5 @@ void CSSFontStyleRangeValue::TraceAfterDispatch(blink::Visitor* visitor) {
CSSValue::TraceAfterDispatch(visitor);
}
} // namespace cssvalue
} // namespace blink
......@@ -30,6 +30,7 @@
#include "core/css/CSSValueList.h"
namespace blink {
namespace cssvalue {
class CSSFontStyleRangeValue final : public CSSValue {
public:
......@@ -72,6 +73,7 @@ class CSSFontStyleRangeValue final : public CSSValue {
DEFINE_CSS_VALUE_TYPE_CASTS(CSSFontStyleRangeValue, IsFontStyleRangeValue());
} // namespace cssvalue
} // namespace blink
#endif
......@@ -593,8 +593,8 @@ FontSelectionCapabilities FontFace::GetFontSelectionCapabilities() const {
break;
}
} else if (style_->IsFontStyleRangeValue()) {
const CSSFontStyleRangeValue* range_value =
ToCSSFontStyleRangeValue(style_);
const cssvalue::CSSFontStyleRangeValue* range_value =
cssvalue::ToCSSFontStyleRangeValue(style_);
if (range_value->GetFontStyleValue()->IsIdentifierValue()) {
CSSValueID font_style_id =
range_value->GetFontStyleValue()->GetValueID();
......
......@@ -17,6 +17,8 @@
namespace blink {
using namespace cssvalue;
class FontFaceCacheTest : public PageTestBase {
USING_FAST_MALLOC(FontFaceCacheTest);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment