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

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

Issue 1304623002: Make blink classes and structures in core/css fast-allocated (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing (Fixed windows compile error) Created 5 years, 4 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
« no previous file with comments | « Source/core/css/CSSDefaultStyleSheets.h ('k') | Source/core/css/CSSFontFaceSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSFontFace.h
diff --git a/Source/core/css/CSSFontFace.h b/Source/core/css/CSSFontFace.h
index f69ec12e6b19d0cc002648938efa5567331a302f..ef0a28398bcc313bf1f939be39e0ff9dc10e75c0 100644
--- a/Source/core/css/CSSFontFace.h
+++ b/Source/core/css/CSSFontFace.h
@@ -42,6 +42,7 @@ class RemoteFontFaceSource;
class SimpleFontData;
class CORE_EXPORT CSSFontFace final : public NoBaseWillBeGarbageCollectedFinalized<CSSFontFace> {
+ WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(CSSFontFace);
WTF_MAKE_NONCOPYABLE(CSSFontFace);
public:
struct UnicodeRange;
@@ -73,6 +74,7 @@ public:
PassRefPtr<SimpleFontData> getFontData(const FontDescription&);
struct UnicodeRange {
+ ALLOW_ONLY_INLINE_ALLOCATION();
UnicodeRange(UChar32 from, UChar32 to)
: m_from(from)
, m_to(to)
@@ -91,6 +93,7 @@ public:
};
class CORE_EXPORT UnicodeRangeSet {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
explicit UnicodeRangeSet(const Vector<UnicodeRange>&);
bool contains(UChar32) const;
« no previous file with comments | « Source/core/css/CSSDefaultStyleSheets.h ('k') | Source/core/css/CSSFontFaceSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698