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

Unified Diff: Source/modules/serviceworkers/testing/InternalsServiceWorker.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
Index: Source/modules/serviceworkers/testing/InternalsServiceWorker.h
diff --git a/Source/modules/serviceworkers/testing/InternalsServiceWorker.h b/Source/modules/serviceworkers/testing/InternalsServiceWorker.h
index 248df9371fb4c4af5945217af3cd262bc60804f9..d032c46535c704a50eb5403d180f5380c9a3fbf2 100644
--- a/Source/modules/serviceworkers/testing/InternalsServiceWorker.h
+++ b/Source/modules/serviceworkers/testing/InternalsServiceWorker.h
@@ -5,12 +5,15 @@
#ifndef InternalsServiceWorker_h
#define InternalsServiceWorker_h
+#include "wtf/Allocator.h"
+
namespace blink {
class Internals;
class ServiceWorker;
class InternalsServiceWorker {
+ STATIC_ONLY(InternalsServiceWorker);
public:
static void terminateServiceWorker(Internals&, ServiceWorker*);
};
« no previous file with comments | « Source/modules/screen_orientation/ScreenOrientationController.h ('k') | Source/modules/speech/DOMWindowSpeechSynthesis.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698