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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerError.h

Issue 1278983003: Adding allocator annotations to blink classes and structs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed patch conflict 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/serviceworkers/ServiceWorkerError.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerError.h b/Source/modules/serviceworkers/ServiceWorkerError.h
index 04c233bba038ed9fac9b2b8ba66aa5538ae59b4a..c2054d7b60b392b6ab4dd7c7d348a73e9647380f 100644
--- a/Source/modules/serviceworkers/ServiceWorkerError.h
+++ b/Source/modules/serviceworkers/ServiceWorkerError.h
@@ -42,14 +42,11 @@ class DOMException;
class ScriptPromiseResolver;
class ServiceWorkerError {
+ STATIC_ONLY(ServiceWorkerError);
public:
// For CallbackPromiseAdapter
using WebType = const WebServiceWorkerError&;
static DOMException* take(ScriptPromiseResolver*, const WebServiceWorkerError& webError);
-
-private:
- WTF_MAKE_NONCOPYABLE(ServiceWorkerError);
- ServiceWorkerError() = delete;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698