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

Unified Diff: Source/modules/background_sync/SyncError.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, 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
« no previous file with comments | « Source/modules/background_sync/SyncCallbacks.h ('k') | Source/modules/bluetooth/BluetoothError.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/background_sync/SyncError.h
diff --git a/Source/modules/background_sync/SyncError.h b/Source/modules/background_sync/SyncError.h
index 9b902293fdc3fe8f1fbba4668612350e7d327a3f..b4f9d949d2dcf525c1cbba26bd43d09d1aac2177 100644
--- a/Source/modules/background_sync/SyncError.h
+++ b/Source/modules/background_sync/SyncError.h
@@ -8,18 +8,16 @@
#include "core/dom/DOMException.h"
#include "platform/heap/Handle.h"
#include "public/platform/modules/background_sync/WebSyncError.h"
+#include "wtf/Allocator.h"
namespace blink {
class ScriptPromiseResolver;
class SyncError {
- WTF_MAKE_NONCOPYABLE(SyncError);
+ STATIC_ONLY(SyncError);
public:
static DOMException* take(ScriptPromiseResolver*, const WebSyncError&);
-
-private:
- SyncError() = delete;
};
} // namespace blink
« no previous file with comments | « Source/modules/background_sync/SyncCallbacks.h ('k') | Source/modules/bluetooth/BluetoothError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698