summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages_params.h
diff options
context:
space:
mode:
authorsatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 11:52:32 +0000
committersatish@chromium.org <satish@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-06 11:52:32 +0000
commitd8683e366ade2f3af7200785c1acdab7b09d0c40 (patch)
tree4f50a2f86333214a67ae8b41d64158ec3b9150dc /chrome/common/render_messages_params.h
parent32d0269681eff5f46290cafa99511f5733757884 (diff)
downloadchromium_src-d8683e366ade2f3af7200785c1acdab7b09d0c40.zip
chromium_src-d8683e366ade2f3af7200785c1acdab7b09d0c40.tar.gz
chromium_src-d8683e366ade2f3af7200785c1acdab7b09d0c40.tar.bz2
Revert 61608 - On Windows, create a new TransportDIB::Handle struct which includes the file
mapping HANDLE and the source process ID. Duplicating the handle for the remote process is done in TransportDIB::Map, instead of in various #ifdefs scattered across the code. Also on windows, remove the struct for the TransportDIB::Id which contained both the sequence number and the HANDLE and replace it with just the sequence number. Fix ThumbnailGenerator by mapping the TransportDIB on Windows and adding a method to duplicate the file mapping handle before sending across the channel. BUG=none TEST=none Review URL: http://codereview.chromium.org/3305020 BUG=58128 TBR=kkania@chromium.org Review URL: http://codereview.chromium.org/3596008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61624 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages_params.h')
-rw-r--r--chrome/common/render_messages_params.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/chrome/common/render_messages_params.h b/chrome/common/render_messages_params.h
index 7181b1b..2b0c0d0 100644
--- a/chrome/common/render_messages_params.h
+++ b/chrome/common/render_messages_params.h
@@ -285,12 +285,9 @@ struct ViewHostMsg_UpdateRect_Params {
ViewHostMsg_UpdateRect_Params();
~ViewHostMsg_UpdateRect_Params();
- // The ID of the bitmap to be painted into the view at the locations specified
- // by update_rects.
- TransportDIB::Id dib_id;
-
- // The handle to the bitmap, in case it needs to be mapped on the browser.
- TransportDIB::Handle dib_handle;
+ // The bitmap to be painted into the view at the locations specified by
+ // update_rects.
+ TransportDIB::Id bitmap;
// The position and size of the bitmap.
gfx::Rect bitmap_rect;