#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;
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) { }
private:
void init() { }
SkBitmap m_bitmap;
-
};
} // namespace blink