diff options
Diffstat (limited to 'Source/WebCore/html/HTMLImageLoader.h')
-rw-r--r-- | Source/WebCore/html/HTMLImageLoader.h | 17 |
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 |