Index: Source/core/workers/WorkerScriptLoader.h |
diff --git a/Source/core/workers/WorkerScriptLoader.h b/Source/core/workers/WorkerScriptLoader.h |
index e4038516948a9684b3d118a275a7331a212f6631..8e64a097a2baa6cbfddcc562925ec1fc18c47018 100644 |
--- a/Source/core/workers/WorkerScriptLoader.h |
+++ b/Source/core/workers/WorkerScriptLoader.h |
@@ -45,7 +45,7 @@ namespace WebCore { |
class TextResourceDecoder; |
class WorkerScriptLoaderClient; |
- class WorkerScriptLoader : public RefCounted<WorkerScriptLoader>, public ThreadableLoaderClient { |
+ class WorkerScriptLoader FINAL : public RefCounted<WorkerScriptLoader>, public ThreadableLoaderClient { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
static PassRefPtr<WorkerScriptLoader> create() |
@@ -82,7 +82,7 @@ namespace WebCore { |
friend class WTF::RefCounted<WorkerScriptLoader>; |
WorkerScriptLoader(); |
- ~WorkerScriptLoader(); |
+ virtual ~WorkerScriptLoader(); |
PassOwnPtr<ResourceRequest> createResourceRequest(); |
void notifyFinished(); |