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

Unified Diff: Source/core/frame/UseCounter.h

Issue 1315783003: Make classes and structures in core/frame 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/frame/TopControls.h ('k') | Source/core/frame/csp/CSPSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.h
diff --git a/Source/core/frame/UseCounter.h b/Source/core/frame/UseCounter.h
index b2fcd082443f2ec959d4fb1bbfcc1da4b0d3cd08..04f257e4fdef3a9d0b924eb24f881e7a633f5a0f 100644
--- a/Source/core/frame/UseCounter.h
+++ b/Source/core/frame/UseCounter.h
@@ -56,6 +56,7 @@ class StyleSheetContents;
// http://www.google.com/chrome/intl/en/privacy.html
class CORE_EXPORT UseCounter {
+ DISALLOW_ALLOCATION();
WTF_MAKE_NONCOPYABLE(UseCounter);
public:
UseCounter();
@@ -890,6 +891,7 @@ public:
static void unmuteForInspector();
class CountBits {
+ DISALLOW_ALLOCATION();
public:
CountBits() : m_bits(NumberOfFeatures) { }
« no previous file with comments | « Source/core/frame/TopControls.h ('k') | Source/core/frame/csp/CSPSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698