Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / css / CSSTransformValue.h
index 1ca3bbd..511c122 100644 (file)
 #include "core/css/CSSValueList.h"
 #include "wtf/PassRefPtr.h"
 
-namespace WebCore {
+namespace blink {
 
 class CSSTransformValue : public CSSValueList {
 public:
+    // FIXME: Can we just use the CSSValueID enum?
     // NOTE: these have to match the values in the IDL
     enum TransformOperationType {
         UnknownTransformOperation,
@@ -59,18 +60,19 @@ public:
         Matrix3DTransformOperation
     };
 
-    static PassRefPtr<CSSTransformValue> create(TransformOperationType type)
+    static PassRefPtrWillBeRawPtr<CSSTransformValue> create(TransformOperationType type)
     {
-        return adoptRef(new CSSTransformValue(type));
+        return adoptRefWillBeNoop(new CSSTransformValue(type));
     }
 
     String customCSSText() const;
     bool equals(const CSSTransformValue& other) const { return m_type == other.m_type && CSSValueList::equals(other); }
-    String customSerializeResolvingVariables(const HashMap<AtomicString, String>&) const;
 
     TransformOperationType operationType() const { return m_type; }
 
-    PassRefPtr<CSSTransformValue> cloneForCSSOM() const;
+    PassRefPtrWillBeRawPtr<CSSTransformValue> cloneForCSSOM() const;
+
+    void traceAfterDispatch(Visitor* visitor) { CSSValueList::traceAfterDispatch(visitor); }
 
 private:
     CSSTransformValue(TransformOperationType);
@@ -81,6 +83,6 @@ private:
 
 DEFINE_CSS_VALUE_TYPE_CASTS(CSSTransformValue, isTransformValue());
 
-}
+} // namespace blink
 
 #endif