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

Unified Diff: Source/modules/push_messaging/PushError.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/push_messaging/PushError.h
diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/push_messaging/PushError.h
index ed38bb1126cfb34f90d1af5e729f8168d06a8e8e..89f297a025546208b1ef35cd07cc2a69b1812b95 100644
--- a/Source/modules/push_messaging/PushError.h
+++ b/Source/modules/push_messaging/PushError.h
@@ -8,20 +8,18 @@
#include "core/dom/DOMException.h"
#include "platform/heap/Handle.h"
#include "public/platform/modules/push_messaging/WebPushError.h"
+#include "wtf/Allocator.h"
namespace blink {
class ScriptPromiseResolver;
class PushError {
- WTF_MAKE_NONCOPYABLE(PushError);
+ STATIC_ONLY(PushError);
public:
// For CallbackPromiseAdapter.
using WebType = const WebPushError&;
static DOMException* take(ScriptPromiseResolver*, const WebPushError& webError);
-
-private:
- PushError() = delete;
};
} // namespace blink
« no previous file with comments | « Source/modules/push_messaging/PushController.h ('k') | Source/modules/push_messaging/PushPermissionStatusCallbacks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698