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

Unified Diff: Source/core/css/CSSImageSetValue.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/CSSFontFaceSource.h ('k') | Source/core/css/CSSProperty.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSImageSetValue.h
diff --git a/Source/core/css/CSSImageSetValue.h b/Source/core/css/CSSImageSetValue.h
index 6fec1e0224634b0802199b6fc80acd738730fa4f..b50d572dbd847111a10212710589ee256c5de29a 100644
--- a/Source/core/css/CSSImageSetValue.h
+++ b/Source/core/css/CSSImageSetValue.h
@@ -29,6 +29,7 @@
#include "core/css/CSSValueList.h"
#include "core/fetch/ResourceLoaderOptions.h"
#include "platform/weborigin/Referrer.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -56,6 +57,7 @@ public:
bool isPending() const { return !m_accessedBestFitImage; }
struct ImageWithScale {
+ ALLOW_ONLY_INLINE_ALLOCATION();
String imageURL;
Referrer referrer;
float scaleFactor;
« no previous file with comments | « Source/core/css/CSSFontFaceSource.h ('k') | Source/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698