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

Unified Diff: webkit/glue/simple_clipboard_impl.cc

Issue 28119: Chromium changes to use new WebKit, WebKitClient, and WebClipboard interfaces... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « webkit/glue/scoped_clipboard_writer_glue.h ('k') | webkit/glue/webclipboard_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/simple_clipboard_impl.cc
===================================================================
--- webkit/glue/simple_clipboard_impl.cc (revision 10343)
+++ webkit/glue/simple_clipboard_impl.cc (working copy)
@@ -15,14 +15,10 @@
// Clipboard glue
-#if defined(OS_WIN)
-// The call is being made within the current process.
-void ScopedClipboardWriterGlue::WriteBitmap(const SkBitmap& bitmap) {
- SkAutoLockPixels bitmap_lock(bitmap);
- WriteBitmapFromPixels(bitmap.getPixels(), gfx::Size(bitmap.width(),
- bitmap.height()));
+void ScopedClipboardWriterGlue::WriteBitmapFromPixels(
+ const void* pixels, const gfx::Size& size) {
+ ScopedClipboardWriter::WriteBitmapFromPixels(pixels, size);
}
-#endif // defined(OS_WIN)
ScopedClipboardWriterGlue::~ScopedClipboardWriterGlue() {
}
« no previous file with comments | « webkit/glue/scoped_clipboard_writer_glue.h ('k') | webkit/glue/webclipboard_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698