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

Unified Diff: Source/core/dom/IconURL.h

Issue 1304043002: Make classes and structures in core/dom fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/dom/Fullscreen.h ('k') | Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/IconURL.h
diff --git a/Source/core/dom/IconURL.h b/Source/core/dom/IconURL.h
index a39bb042cf92060e545aa85f87d84e61bab9a604..30c159be618a32d352865ed2da0f04244ef4e8fb 100644
--- a/Source/core/dom/IconURL.h
+++ b/Source/core/dom/IconURL.h
@@ -33,6 +33,7 @@
#include "platform/geometry/IntSize.h"
#include "platform/weborigin/KURL.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -44,6 +45,7 @@ enum IconType {
};
struct IconURL {
+ ALLOW_ONLY_INLINE_ALLOCATION();
IconType m_iconType;
Vector<IntSize> m_sizes;
String m_mimeType;
« no previous file with comments | « Source/core/dom/Fullscreen.h ('k') | Source/core/dom/IgnoreDestructiveWriteCountIncrementer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698