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/dom/MutationRecord.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'Source/WebCore/dom/MutationRecord.h') diff --git a/Source/WebCore/dom/MutationRecord.h b/Source/WebCore/dom/MutationRecord.h index 6cbb493b5..60bbfab1a 100644 --- a/Source/WebCore/dom/MutationRecord.h +++ b/Source/WebCore/dom/MutationRecord.h @@ -28,10 +28,8 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef MutationRecord_h -#define MutationRecord_h +#pragma once -#include #include #include #include @@ -47,11 +45,11 @@ class QualifiedName; class MutationRecord : public RefCounted { public: - static PassRefPtr createChildList(ContainerNode& target, PassRefPtr added, PassRefPtr removed, PassRefPtr previousSibling, PassRefPtr nextSibling); - static PassRefPtr createAttributes(Element& target, const QualifiedName&, const AtomicString& oldValue); - static PassRefPtr createCharacterData(CharacterData& target, const String& oldValue); + static Ref createChildList(ContainerNode& target, Ref&& added, Ref&& removed, RefPtr&& previousSibling, RefPtr&& nextSibling); + static Ref createAttributes(Element& target, const QualifiedName&, const AtomicString& oldValue); + static Ref createCharacterData(CharacterData& target, const String& oldValue); - static PassRefPtr createWithNullOldValue(PassRefPtr); + static Ref createWithNullOldValue(MutationRecord&); virtual ~MutationRecord(); @@ -70,5 +68,3 @@ public: }; } // namespace WebCore - -#endif // MutationRecord_h -- cgit v1.2.1