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

Unified Diff: third_party/WebKit/Source/platform/fonts/opentype/FontSettings.h

Issue 2581083003: Initial OpenType Font Variations Support (Closed)
Patch Set: Fix makeUnique syntax Created 4 years 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/opentype/FontSettings.h
diff --git a/third_party/WebKit/Source/platform/fonts/opentype/FontSettings.h b/third_party/WebKit/Source/platform/fonts/opentype/FontSettings.h
index d57d2eecfd8458f6426dcdec8524aedb42eacf79..a8b7e48ea932dc115c3fa09048c5486b7c19dbea 100644
--- a/third_party/WebKit/Source/platform/fonts/opentype/FontSettings.h
+++ b/third_party/WebKit/Source/platform/fonts/opentype/FontSettings.h
@@ -15,6 +15,8 @@
namespace blink {
+uint32_t atomicStringToFourByteTag(AtomicString tag);
+
template <typename T>
class FontTagValuePair {
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
@@ -51,7 +53,7 @@ class FontSettings {
FontSettings(){};
private:
- Vector<T> m_list;
+ Vector<T, 0> m_list;
};
using FontFeature = FontTagValuePair<int>;
@@ -81,6 +83,8 @@ class PLATFORM_EXPORT FontVariationSettings
return adoptRef(new FontVariationSettings());
}
+ unsigned hash() const;
+
private:
FontVariationSettings() = default;
};

Powered by Google App Engine
This is Rietveld 408576698