Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: Source/core/css/CSSFontFeatureValue.h

Issue 92493003: Have CSSFontFeatureValue store the tag as an AtomicString instead of a String (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add constructor argument names Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/css/CSSFontFeatureValue.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFeatureValue.h
diff --git a/Source/core/css/CSSFontFeatureValue.h b/Source/core/css/CSSFontFeatureValue.h
index 011cd1e438539676b3ec87127fe84b830e149b39..8a0367fabe38f0ea484ca164fe968ca438f74332 100644
--- a/Source/core/css/CSSFontFeatureValue.h
+++ b/Source/core/css/CSSFontFeatureValue.h
@@ -33,21 +33,21 @@ namespace WebCore {
class CSSFontFeatureValue : public CSSValue {
public:
- static PassRefPtr<CSSFontFeatureValue> create(const String& tag, int value)
+ static PassRefPtr<CSSFontFeatureValue> create(const AtomicString& tag, int value)
{
return adoptRef(new CSSFontFeatureValue(tag, value));
}
- const String& tag() const { return m_tag; }
+ const AtomicString& tag() const { return m_tag; }
int value() const { return m_value; }
String customCSSText() const;
bool equals(const CSSFontFeatureValue&) const;
private:
- CSSFontFeatureValue(const String&, int);
+ CSSFontFeatureValue(const AtomicString& tag, int value);
- String m_tag;
+ AtomicString m_tag;
const int m_value;
};
« no previous file with comments | « no previous file | Source/core/css/CSSFontFeatureValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698