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

Unified Diff: Source/core/dom/DOMArrayPiece.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/CSSSelectorWatch.h ('k') | Source/core/dom/DOMNodeIds.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMArrayPiece.h
diff --git a/Source/core/dom/DOMArrayPiece.h b/Source/core/dom/DOMArrayPiece.h
index 8ca842d6423240ac2673fc4bae760cec9013943c..afa2cb6cdb6b57ed9602efdb9c731ae645919bd2 100644
--- a/Source/core/dom/DOMArrayPiece.h
+++ b/Source/core/dom/DOMArrayPiece.h
@@ -23,6 +23,7 @@ class ArrayBufferOrArrayBufferView;
// IMPORTANT: The data contained by ArrayPiece is NOT OWNED, so caution must be
// taken to ensure it is kept alive.
class CORE_EXPORT DOMArrayPiece : public WTF::ArrayPiece {
+ DISALLOW_ALLOCATION();
public:
enum InitWithUnionOption {
// Initialize this object as "null" when initialized with an union which
« no previous file with comments | « Source/core/dom/CSSSelectorWatch.h ('k') | Source/core/dom/DOMNodeIds.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698