Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / css / CSSCrossfadeValue.h
index 1f256eb..15e3442 100644 (file)
 #include "core/fetch/ResourcePtr.h"
 #include "platform/graphics/Image.h"
 
-namespace WebCore {
+namespace blink {
 
 class ImageResource;
 class CrossfadeSubimageObserverProxy;
 class RenderObject;
-class Document;
 
 class CSSCrossfadeValue : public CSSImageGeneratorValue {
     friend class CrossfadeSubimageObserverProxy;
 public:
     static PassRefPtrWillBeRawPtr<CSSCrossfadeValue> create(PassRefPtrWillBeRawPtr<CSSValue> fromValue, PassRefPtrWillBeRawPtr<CSSValue> toValue)
     {
-        return adoptRefWillBeRefCountedGarbageCollected(new CSSCrossfadeValue(fromValue, toValue));
+        return adoptRefWillBeNoop(new CSSCrossfadeValue(fromValue, toValue));
     }
 
     ~CSSCrossfadeValue();
@@ -108,6 +107,6 @@ private:
 
 DEFINE_CSS_VALUE_TYPE_CASTS(CSSCrossfadeValue, isCrossfadeValue());
 
-} // namespace WebCore
+} // namespace blink
 
 #endif // CSSCrossfadeValue_h