void ChromiumBridge::clipboardWriteImage(NativeImagePtr image, const KURL& sourceURL, const String& title) { #if WEBKIT_USING_SKIA WebImage webImage(*image); #else WebImage webImage(image); #endif webKitClient()->clipboard()->writeImage(webImage, sourceURL, title); }
void PlatformSupport::clipboardWriteImage(NativeImagePtr image, const KURL& sourceURL, const String& title) { #if WEBKIT_USING_SKIA WebImage webImage(image->bitmap()); #else WebImage webImage(image); #endif webKitPlatformSupport()->clipboard()->writeImage(webImage, sourceURL, title); }