Mark ServiceWorkerGlobalScope as final
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Nov 2017 18:02:48 +0000 (18:02 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 30 Nov 2017 18:02:48 +0000 (18:02 +0000)
https://bugs.webkit.org/show_bug.cgi?id=180201

Reviewed by Alex Christensen.

* workers/service/ServiceWorkerGlobalScope.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@225330 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/workers/service/ServiceWorkerGlobalScope.h

index d91aeb2..1721af5 100644 (file)
@@ -1,3 +1,12 @@
+2017-11-30  Chris Dumez  <cdumez@apple.com>
+
+        Mark ServiceWorkerGlobalScope as final
+        https://bugs.webkit.org/show_bug.cgi?id=180201
+
+        Reviewed by Alex Christensen.
+
+        * workers/service/ServiceWorkerGlobalScope.h:
+
 2017-11-30  Zan Dobersek  <zdobersek@igalia.com>
 
         [CoordGraphics] Move CoordinatedGraphicsLayer painting behind Nicosia::PaintingEngine
index 08aa1c9..8926264 100644 (file)
@@ -40,14 +40,14 @@ class ServiceWorkerClient;
 class ServiceWorkerClients;
 class ServiceWorkerThread;
 
-class ServiceWorkerGlobalScope : public WorkerGlobalScope {
+class ServiceWorkerGlobalScope final : public WorkerGlobalScope {
 public:
     template<typename... Args> static Ref<ServiceWorkerGlobalScope> create(Args&&... args)
     {
         return adoptRef(*new ServiceWorkerGlobalScope(std::forward<Args>(args)...));
     }
 
-    virtual ~ServiceWorkerGlobalScope();
+    ~ServiceWorkerGlobalScope();
 
     bool isServiceWorkerGlobalScope() const final { return true; }