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

Unified Diff: Source/modules/imagebitmap/WindowImageBitmapFactories.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/imagebitmap/WindowImageBitmapFactories.h
diff --git a/Source/modules/imagebitmap/WindowImageBitmapFactories.h b/Source/modules/imagebitmap/WindowImageBitmapFactories.h
index dd1683e9455bce7737ce2bff1e74c90302431c24..efadd08fd6776c9918d23dff3097600795147483 100644
--- a/Source/modules/imagebitmap/WindowImageBitmapFactories.h
+++ b/Source/modules/imagebitmap/WindowImageBitmapFactories.h
@@ -35,6 +35,7 @@
#include "bindings/core/v8/ScriptPromiseResolver.h"
#include "bindings/core/v8/ScriptState.h"
#include "platform/geometry/IntRect.h"
+#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/HashSet.h"
@@ -48,6 +49,7 @@ class HTMLImageElement;
class HTMLVideoElement;
class WindowImageBitmapFactories {
+ STATIC_ONLY(WindowImageBitmapFactories);
public:
static ScriptPromise createImageBitmap(ScriptState*, EventTarget&, HTMLImageElement*, ExceptionState&);
static ScriptPromise createImageBitmap(ScriptState*, EventTarget&, HTMLImageElement*, int sx, int sy, int sw, int sh, ExceptionState&);
« no previous file with comments | « Source/modules/geolocation/testing/InternalsGeolocation.h ('k') | Source/modules/indexeddb/DOMWindowIndexedDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698