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

Unified Diff: Source/core/html/TimeRanges.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/MediaFragmentURIParser.h ('k') | Source/core/html/canvas/CanvasRenderingContextFactory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TimeRanges.h
diff --git a/Source/core/html/TimeRanges.h b/Source/core/html/TimeRanges.h
index 1fb8b1c55dbb3df75a02bd041a2da7253c372512..1ae926e3f4e462e213b1e3c445e599a528e986b1 100644
--- a/Source/core/html/TimeRanges.h
+++ b/Source/core/html/TimeRanges.h
@@ -30,6 +30,7 @@
#include "core/CoreExport.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebTimeRange.h"
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
#include <algorithm>
@@ -43,6 +44,7 @@ class CORE_EXPORT TimeRanges : public GarbageCollectedFinalized<TimeRanges>, pub
public:
// We consider all the Ranges to be semi-bounded as follow: [start, end[
struct Range {
+ ALLOW_ONLY_INLINE_ALLOCATION();
public:
Range() { }
Range(double start, double end)
« no previous file with comments | « Source/core/html/MediaFragmentURIParser.h ('k') | Source/core/html/canvas/CanvasRenderingContextFactory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698