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

Unified Diff: base/clipboard_win.cc

Issue 10895: Add Terminate() to the Process object, have RenderProcessHost use this to avo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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 | « base/clipboard.h ('k') | base/gfx/platform_canvas_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/clipboard_win.cc
===================================================================
--- base/clipboard_win.cc (revision 5371)
+++ base/clipboard_win.cc (working copy)
@@ -147,7 +147,8 @@
WriteObjects(objects, NULL);
}
-void Clipboard::WriteObjects(const ObjectMap& objects, ProcessHandle process) {
+void Clipboard::WriteObjects(const ObjectMap& objects,
+ base::ProcessHandle process) {
ScopedClipboard clipboard;
if (!clipboard.Acquire(clipboard_owner_))
return;
@@ -267,12 +268,12 @@
void Clipboard::WriteBitmapFromSharedMemory(const char* bitmap_data,
const char* size_data,
- ProcessHandle process) {
- const SharedMemoryHandle* remote_bitmap_handle =
- reinterpret_cast<const SharedMemoryHandle*>(bitmap_data);
+ base::ProcessHandle process) {
+ const base::SharedMemoryHandle* remote_bitmap_handle =
+ reinterpret_cast<const base::SharedMemoryHandle*>(bitmap_data);
const gfx::Size* size = reinterpret_cast<const gfx::Size*>(size_data);
- SharedMemory bitmap(*remote_bitmap_handle, false, process);
+ base::SharedMemory bitmap(*remote_bitmap_handle, false, process);
// TODO(darin): share data in gfx/bitmap_header.cc somehow
BITMAPINFO bm_info = {0};
« no previous file with comments | « base/clipboard.h ('k') | base/gfx/platform_canvas_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698