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

Unified Diff: Source/core/html/parser/HTMLPreloadScanner.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/parser/HTMLParserThread.h ('k') | Source/core/html/parser/HTMLSourceTracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLPreloadScanner.h
diff --git a/Source/core/html/parser/HTMLPreloadScanner.h b/Source/core/html/parser/HTMLPreloadScanner.h
index 60c6a9cff9a9b43e61c1689a3be182da49453788..99cfd81650718a648fefac0359f0f072c2cf7b93 100644
--- a/Source/core/html/parser/HTMLPreloadScanner.h
+++ b/Source/core/html/parser/HTMLPreloadScanner.h
@@ -46,6 +46,8 @@ class HTMLTokenizer;
class SegmentedString;
struct CORE_EXPORT CachedDocumentParameters {
+ WTF_MAKE_FAST_ALLOCATED(CachedDocumentParameters);
+public:
static PassOwnPtr<CachedDocumentParameters> create(Document* document, PassRefPtrWillBeRawPtr<MediaValues> mediaValues = nullptr)
{
return adoptPtr(new CachedDocumentParameters(document, mediaValues));
« no previous file with comments | « Source/core/html/parser/HTMLParserThread.h ('k') | Source/core/html/parser/HTMLSourceTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698