Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(976)

Unified Diff: platform/chromium/PasteboardChromium.cpp

Issue 294023: WebCore fix for "Copy Image".... (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/WebCore/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « platform/chromium/ChromiumBridge.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform/chromium/PasteboardChromium.cpp
===================================================================
--- platform/chromium/PasteboardChromium.cpp (revision 49844)
+++ platform/chromium/PasteboardChromium.cpp (working copy)
@@ -147,10 +147,7 @@
}
KURL url = urlString.isEmpty() ? KURL() : node->document()->completeURL(deprecatedParseURL(urlString));
- NativeImageSkia* bitmap = 0;
-#if !PLATFORM(CG)
- bitmap = image->nativeImageForCurrentFrame();
-#endif
+ NativeImagePtr bitmap = image->nativeImageForCurrentFrame();
ChromiumBridge::clipboardWriteImage(bitmap, url, title);
}
« no previous file with comments | « platform/chromium/ChromiumBridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698