Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebImage.h
index 3043553..1c7c5db 100644 (file)
 #include "third_party/skia/include/core/SkBitmap.h"
 
 #if INSIDE_BLINK
-namespace WebCore { class Image; }
 namespace WTF { template <typename T> class PassRefPtr; }
 #endif
 
 namespace blink {
 
+class Image;
 class WebData;
 struct WebSize;
 
@@ -80,8 +80,8 @@ public:
     BLINK_PLATFORM_EXPORT WebSize size() const;
 
 #if INSIDE_BLINK
-    BLINK_PLATFORM_EXPORT WebImage(const WTF::PassRefPtr<WebCore::Image>&);
-    BLINK_PLATFORM_EXPORT WebImage& operator=(const WTF::PassRefPtr<WebCore::Image>&);
+    BLINK_PLATFORM_EXPORT WebImage(const WTF::PassRefPtr<Image>&);
+    BLINK_PLATFORM_EXPORT WebImage& operator=(const WTF::PassRefPtr<Image>&);
 #endif
 
     WebImage(const SkBitmap& bitmap) : m_bitmap(bitmap) { }
@@ -98,7 +98,6 @@ public:
 private:
     void init() { }
     SkBitmap m_bitmap;
-
 };
 
 } // namespace blink