summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLImageLoader.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLImageLoader.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLImageLoader.h')
-rw-r--r--Source/WebCore/html/HTMLImageLoader.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/Source/WebCore/html/HTMLImageLoader.h b/Source/WebCore/html/HTMLImageLoader.h
index 14ea2bc3a..a81589a0a 100644
--- a/Source/WebCore/html/HTMLImageLoader.h
+++ b/Source/WebCore/html/HTMLImageLoader.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
- * Copyright (C) 2004 Apple Computer, Inc.
+ * Copyright (C) 2004 Apple Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -20,24 +20,21 @@
*
*/
-#ifndef HTMLImageLoader_h
-#define HTMLImageLoader_h
+#pragma once
#include "ImageLoader.h"
namespace WebCore {
-class HTMLImageLoader : public ImageLoader {
+class HTMLImageLoader final : public ImageLoader {
public:
- HTMLImageLoader(Element*);
+ explicit HTMLImageLoader(Element&);
virtual ~HTMLImageLoader();
- virtual void dispatchLoadEvent() override;
- virtual String sourceURI(const AtomicString&) const override;
+ void dispatchLoadEvent() override;
+ String sourceURI(const AtomicString&) const override;
- virtual void notifyFinished(CachedResource*) override;
+ void notifyFinished(CachedResource&) final;
};
}
-
-#endif