From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLImageLoader.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'Source/WebCore/html/HTMLImageLoader.h') 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 -- cgit v1.2.1