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

Unified Diff: Source/core/html/track/AutomaticTrackSelection.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/shadow/DateTimeNumericFieldElement.h ('k') | Source/core/html/track/CueTimeline.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/track/AutomaticTrackSelection.h
diff --git a/Source/core/html/track/AutomaticTrackSelection.h b/Source/core/html/track/AutomaticTrackSelection.h
index b9f25e4f890d40edd11fc70e1152d20b19c2534a..0734ccf0c86cf822a6a9d996952a00414270c114 100644
--- a/Source/core/html/track/AutomaticTrackSelection.h
+++ b/Source/core/html/track/AutomaticTrackSelection.h
@@ -7,6 +7,7 @@
#include "core/html/track/TextTrackKindUserPreference.h"
#include "platform/heap/Handle.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -17,6 +18,7 @@ class AutomaticTrackSelection {
STACK_ALLOCATED();
public:
struct Configuration {
+ DISALLOW_ALLOCATION();
Configuration()
: disableCurrentlyEnabledTracks(false)
, forceEnableSubtitleOrCaptionTrack(false)
« no previous file with comments | « Source/core/html/shadow/DateTimeNumericFieldElement.h ('k') | Source/core/html/track/CueTimeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698