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

Unified Diff: Source/modules/webmidi/MIDIAccessor.h

Issue 1318793005: [part 2] Make classes and structures in modules 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/modules/webmidi/MIDIAccessInitializer.h ('k') | Source/modules/webmidi/MIDIController.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIAccessor.h
diff --git a/Source/modules/webmidi/MIDIAccessor.h b/Source/modules/webmidi/MIDIAccessor.h
index cb6e582cb3e9083b404ecf2afff1963131b9d118..f498c5860164e4564f0c9a6763ab274b16152872 100644
--- a/Source/modules/webmidi/MIDIAccessor.h
+++ b/Source/modules/webmidi/MIDIAccessor.h
@@ -33,6 +33,7 @@
#include "public/platform/WebMIDIAccessor.h"
#include "public/platform/WebMIDIAccessorClient.h"
+#include "wtf/FastAllocBase.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
@@ -41,6 +42,7 @@ namespace blink {
class MIDIAccessorClient;
class MIDIAccessor final : public WebMIDIAccessorClient {
+ WTF_MAKE_FAST_ALLOCATED(MIDIAccessor);
public:
static PassOwnPtr<MIDIAccessor> create(MIDIAccessorClient*);
« no previous file with comments | « Source/modules/webmidi/MIDIAccessInitializer.h ('k') | Source/modules/webmidi/MIDIController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698