Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / graphics / CrossfadeGeneratedImage.h
index 5be0085..92ec0ae 100644 (file)
@@ -32,9 +32,7 @@
 #include "platform/graphics/ImageObserver.h"
 #include "wtf/RefPtr.h"
 
-namespace WebCore {
-
-class CSSCrossfadeValue;
+namespace blink {
 
 class PLATFORM_EXPORT CrossfadeGeneratedImage : public GeneratedImage {
 public:
@@ -43,19 +41,19 @@ public:
         return adoptRef(new CrossfadeGeneratedImage(fromImage, toImage, percentage, crossfadeSize, size));
     }
 
-    virtual void setContainerSize(const IntSize&) OVERRIDE { }
-    virtual bool usesContainerSize() const OVERRIDE { return false; }
-    virtual bool hasRelativeWidth() const OVERRIDE { return false; }
-    virtual bool hasRelativeHeight() const OVERRIDE { return false; }
+    virtual void setContainerSize(const IntSize&) override { }
+    virtual bool usesContainerSize() const override { return false; }
+    virtual bool hasRelativeWidth() const override { return false; }
+    virtual bool hasRelativeHeight() const override { return false; }
 
-    virtual IntSize size() const OVERRIDE { return m_crossfadeSize; }
+    virtual IntSize size() const override { return m_crossfadeSize; }
 
 protected:
     virtual void draw(GraphicsContext*, const FloatRect&, const FloatRect&,
-        CompositeOperator, blink::WebBlendMode) OVERRIDE;
+        CompositeOperator, WebBlendMode) override;
     virtual void drawPattern(GraphicsContext*, const FloatRect&,
         const FloatSize&, const FloatPoint&, CompositeOperator,
-        const FloatRect&, blink::WebBlendMode, const IntSize& repeatSpacing) OVERRIDE;
+        const FloatRect&, WebBlendMode, const IntSize& repeatSpacing) override;
 
     CrossfadeGeneratedImage(Image* fromImage, Image* toImage, float percentage, IntSize crossfadeSize, const IntSize&);
 
@@ -69,6 +67,6 @@ private:
     IntSize m_crossfadeSize;
 };
 
-}
+} // namespace blink
 
 #endif