summaryrefslogtreecommitdiff
path: root/Source/WebCore/css/CSSShadowValue.cpp
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/css/CSSShadowValue.cpp
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/css/CSSShadowValue.cpp')
-rw-r--r--Source/WebCore/css/CSSShadowValue.cpp21
1 files changed, 8 insertions, 13 deletions
diff --git a/Source/WebCore/css/CSSShadowValue.cpp b/Source/WebCore/css/CSSShadowValue.cpp
index 77d224721..94947d7b9 100644
--- a/Source/WebCore/css/CSSShadowValue.cpp
+++ b/Source/WebCore/css/CSSShadowValue.cpp
@@ -1,6 +1,6 @@
/**
* (C) 1999-2003 Lars Knoll (knoll@kde.org)
- * Copyright (C) 2004, 2005, 2006, 2009 Apple Computer, Inc.
+ * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -26,19 +26,14 @@
namespace WebCore {
// Used for text-shadow and box-shadow
-CSSShadowValue::CSSShadowValue(PassRefPtr<CSSPrimitiveValue> x,
- PassRefPtr<CSSPrimitiveValue> y,
- PassRefPtr<CSSPrimitiveValue> blur,
- PassRefPtr<CSSPrimitiveValue> spread,
- PassRefPtr<CSSPrimitiveValue> style,
- PassRefPtr<CSSPrimitiveValue> color)
+CSSShadowValue::CSSShadowValue(RefPtr<CSSPrimitiveValue>&& x, RefPtr<CSSPrimitiveValue>&& y, RefPtr<CSSPrimitiveValue>&& blur, RefPtr<CSSPrimitiveValue>&& spread, RefPtr<CSSPrimitiveValue>&& style, RefPtr<CSSPrimitiveValue>&& color)
: CSSValue(ShadowClass)
- , x(x)
- , y(y)
- , blur(blur)
- , spread(spread)
- , style(style)
- , color(color)
+ , x(WTFMove(x))
+ , y(WTFMove(y))
+ , blur(WTFMove(blur))
+ , spread(WTFMove(spread))
+ , style(WTFMove(style))
+ , color(WTFMove(color))
{
}