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

Unified Diff: Source/web/ContextMenuClientImpl.h

Issue 1328773002: Make classes and structures in web fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 3 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/web/ColorChooserUIController.h ('k') | Source/web/DatabaseClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ContextMenuClientImpl.h
diff --git a/Source/web/ContextMenuClientImpl.h b/Source/web/ContextMenuClientImpl.h
index f9b2f5b6c989b5df986b16cbf7c7e752885405d9..9574cb220eccf5f6b6f2c9bfd3a5d35b320270bb 100644
--- a/Source/web/ContextMenuClientImpl.h
+++ b/Source/web/ContextMenuClientImpl.h
@@ -32,6 +32,7 @@
#define ContextMenuClientImpl_h
#include "core/page/ContextMenuClient.h"
+#include "wtf/Allocator.h"
namespace blink {
@@ -39,6 +40,7 @@ class WebViewImpl;
struct WebContextMenuData;
class ContextMenuClientImpl final : public ContextMenuClient {
+ DISALLOW_ALLOCATION();
public:
explicit ContextMenuClientImpl(WebViewImpl* webView) : m_webView(webView) { }
~ContextMenuClientImpl() override {}
« no previous file with comments | « Source/web/ColorChooserUIController.h ('k') | Source/web/DatabaseClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698