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

Unified Diff: Source/modules/serviceworkers/ServiceWorkerRegistration.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/ServiceWorkerRegistration.h
diff --git a/Source/modules/serviceworkers/ServiceWorkerRegistration.h b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
index 4eac382a4b5f14715d645c87fc26f33b13db364c..3d9e98612df9b2dd50492bb1faccb6cd1e30682f 100644
--- a/Source/modules/serviceworkers/ServiceWorkerRegistration.h
+++ b/Source/modules/serviceworkers/ServiceWorkerRegistration.h
@@ -84,6 +84,7 @@ private:
};
class ServiceWorkerRegistrationArray {
+ STATIC_ONLY(ServiceWorkerRegistrationArray);
public:
static HeapVector<Member<ServiceWorkerRegistration>> take(ScriptPromiseResolver* resolver, PassOwnPtr<WebVector<WebServiceWorkerRegistration*>> webServiceWorkerRegistrations)
{
@@ -98,10 +99,6 @@ public:
for (WebServiceWorkerRegistration* registration : *webServiceWorkerRegistrations)
ServiceWorkerRegistration::dispose(registration);
}
-
-private:
- WTF_MAKE_NONCOPYABLE(ServiceWorkerRegistrationArray);
- ServiceWorkerRegistrationArray() = delete;
};
} // namespace blink
« no previous file with comments | « Source/modules/serviceworkers/ServiceWorkerGlobalScopeClient.h ('k') | Source/web/ServiceWorkerGlobalScopeClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698