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

Unified Diff: Source/modules/vibration/testing/InternalsVibration.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/vibration/NavigatorVibration.h ('k') | Source/modules/vr/VRGetDevicesCallback.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/vibration/testing/InternalsVibration.h
diff --git a/Source/modules/vibration/testing/InternalsVibration.h b/Source/modules/vibration/testing/InternalsVibration.h
index c39dc81f4128649018359c274d032ed7861830fa..307e2489e996d6d85daa747961be60380a4e9824 100644
--- a/Source/modules/vibration/testing/InternalsVibration.h
+++ b/Source/modules/vibration/testing/InternalsVibration.h
@@ -31,6 +31,7 @@
#ifndef InternalsVibration_h
#define InternalsVibration_h
+#include "wtf/Allocator.h"
#include "wtf/Vector.h"
namespace blink {
@@ -39,6 +40,7 @@ class Document;
class Internals;
class InternalsVibration {
+ STATIC_ONLY(InternalsVibration);
public:
static bool isVibrating(Internals&, Document*);
static Vector<unsigned> pendingVibrationPattern(Internals&, Document*);
« no previous file with comments | « Source/modules/vibration/NavigatorVibration.h ('k') | Source/modules/vr/VRGetDevicesCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698