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

Unified Diff: Source/modules/cachestorage/GlobalCacheStorage.h

Issue 1315743003: [part 1] Make classes and structures in modules/ 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
Index: Source/modules/cachestorage/GlobalCacheStorage.h
diff --git a/Source/modules/cachestorage/GlobalCacheStorage.h b/Source/modules/cachestorage/GlobalCacheStorage.h
index a00b7b17cbb2a4031400c8993fc499cd7af8f16c..85d8b7ac75ae26c3d14cda4e2622b4923f04a507 100644
--- a/Source/modules/cachestorage/GlobalCacheStorage.h
+++ b/Source/modules/cachestorage/GlobalCacheStorage.h
@@ -5,6 +5,8 @@
#ifndef GlobalCacheStorage_h
#define GlobalCacheStorage_h
+#include "wtf/Allocator.h"
+
namespace blink {
class CacheStorage;
@@ -13,6 +15,7 @@ class ExceptionState;
class WorkerGlobalScope;
class GlobalCacheStorage {
+ STATIC_ONLY(GlobalCacheStorage);
public:
static CacheStorage* caches(DOMWindow&, ExceptionState&);
static CacheStorage* caches(WorkerGlobalScope&, ExceptionState&);
« no previous file with comments | « Source/modules/cachestorage/CacheStorageError.h ('k') | Source/modules/canvas2d/CanvasRenderingContext2DState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698