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

Unified Diff: Source/core/html/HTMLImageFallbackHelper.h

Issue 1306413003: Make classes and structures in core/html 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/html/HTMLFrameOwnerElement.h ('k') | Source/core/html/LinkRelAttribute.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLImageFallbackHelper.h
diff --git a/Source/core/html/HTMLImageFallbackHelper.h b/Source/core/html/HTMLImageFallbackHelper.h
index 27413d1353017b37360087e256b90b77ac6d2b65..9aebbfd622f6c629cf122e4a79c73856598e1e45 100644
--- a/Source/core/html/HTMLImageFallbackHelper.h
+++ b/Source/core/html/HTMLImageFallbackHelper.h
@@ -5,6 +5,7 @@
#ifndef HTMLImageFallbackHelper_h
#define HTMLImageFallbackHelper_h
+#include "wtf/Allocator.h"
#include "wtf/PassRefPtr.h"
namespace blink {
@@ -13,6 +14,7 @@ class Element;
class ComputedStyle;
class HTMLImageFallbackHelper {
+ STATIC_ONLY(HTMLImageFallbackHelper);
public:
static void createAltTextShadowTree(Element&);
static PassRefPtr<ComputedStyle> customStyleForAltText(Element&, PassRefPtr<ComputedStyle> newStyle);
« no previous file with comments | « Source/core/html/HTMLFrameOwnerElement.h ('k') | Source/core/html/LinkRelAttribute.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698