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

Unified Diff: webkit/glue/webclipboard_impl.cc

Issue 42592: Linux: write images to clipboard.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « tools/gtk_clipboard_dump/gtk_clipboard_dump.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webclipboard_impl.cc
===================================================================
--- webkit/glue/webclipboard_impl.cc (revision 12396)
+++ webkit/glue/webclipboard_impl.cc (working copy)
@@ -119,7 +119,7 @@
const WebImage& image, const WebURL& url, const WebString& title) {
ScopedClipboardWriterGlue scw(ClipboardGetClipboard());
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_LINUX)
if (!image.isNull())
scw.WriteBitmapFromPixels(image.pixels(), image.size());
#endif
« no previous file with comments | « tools/gtk_clipboard_dump/gtk_clipboard_dump.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698