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

Unified Diff: Source/modules/screen_orientation/LockOrientationCallback.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/screen_orientation/LockOrientationCallback.h
diff --git a/Source/modules/screen_orientation/LockOrientationCallback.h b/Source/modules/screen_orientation/LockOrientationCallback.h
index 74bc20d45616cd5119394a8b6e9c0f9227d270ff..64d1fc091479e6c65dfd62270665a8ebb91e6fd8 100644
--- a/Source/modules/screen_orientation/LockOrientationCallback.h
+++ b/Source/modules/screen_orientation/LockOrientationCallback.h
@@ -20,6 +20,7 @@ class ScriptPromiseResolver;
// that will resolve the underlying promise depending on the result passed to
// the callback.
class LockOrientationCallback final : public WebLockOrientationCallback {
+ WTF_MAKE_FAST_ALLOCATED(LockOrientationCallback);
WTF_MAKE_NONCOPYABLE(LockOrientationCallback);
public:
explicit LockOrientationCallback(ScriptPromiseResolver*);
« no previous file with comments | « Source/modules/quota/DOMWindowQuota.h ('k') | Source/modules/screen_orientation/ScreenOrientationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698