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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h

Issue 1887613002: Compare font-feature-settings as part of Font::operator==(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
Index: third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h b/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h
index 3e8c87a30d00b2af30539ae7ea21fee7cd00a2bb..8d1c000eb36433239cc9281f8c2c89587aca6a59 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h
+++ b/third_party/WebKit/Source/platform/fonts/FontFeatureSettings.h
@@ -40,7 +40,7 @@ class PLATFORM_EXPORT FontFeature {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
public:
FontFeature(const AtomicString& tag, int value);
- bool operator==(const FontFeature&);
+ bool operator==(const FontFeature&) const;
const AtomicString& tag() const { return m_tag; }
int value() const { return m_value; }
@@ -61,6 +61,7 @@ public:
size_t size() const { return m_list.size(); }
const FontFeature& operator[](int index) const { return m_list[index]; }
const FontFeature& at(size_t index) const { return m_list.at(index); }
+ bool operator==(const FontFeatureSettings&) const;
private:
FontFeatureSettings();

Powered by Google App Engine
This is Rietveld 408576698