diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-05-24 08:28:08 +0000 |
commit | a4e969f4965059196ca948db781e52f7cfebf19e (patch) | |
tree | 6ca352808c8fdc52006a0f33f6ae3c593b23867d /Source/WebCore/css/CSSFontFeatureValue.cpp | |
parent | 41386e9cb918eed93b3f13648cbef387e371e451 (diff) | |
download | WebKitGtk-tarball-a4e969f4965059196ca948db781e52f7cfebf19e.tar.gz |
webkitgtk-2.12.3webkitgtk-2.12.3
Diffstat (limited to 'Source/WebCore/css/CSSFontFeatureValue.cpp')
-rw-r--r-- | Source/WebCore/css/CSSFontFeatureValue.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/WebCore/css/CSSFontFeatureValue.cpp b/Source/WebCore/css/CSSFontFeatureValue.cpp index 33ae13281..c170b89d2 100644 --- a/Source/WebCore/css/CSSFontFeatureValue.cpp +++ b/Source/WebCore/css/CSSFontFeatureValue.cpp @@ -10,10 +10,10 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY + * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR @@ -32,9 +32,9 @@ namespace WebCore { -CSSFontFeatureValue::CSSFontFeatureValue(const String& tag, int value) +CSSFontFeatureValue::CSSFontFeatureValue(FontFeatureTag&& tag, int value) : CSSValue(FontFeatureClass) - , m_tag(tag) + , m_tag(WTFMove(tag)) , m_value(value) { } @@ -43,7 +43,8 @@ String CSSFontFeatureValue::customCSSText() const { StringBuilder builder; builder.append('\''); - builder.append(m_tag); + for (char c : m_tag) + builder.append(c); builder.appendLiteral("' "); builder.appendNumber(m_value); return builder.toString(); |