summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 18:55:09 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-19 18:55:09 +0000
commitc88c9447549bc80ead4e76e95fb8348a742ae3bf (patch)
tree3da16d87bc63595bfe0b3959b0c7d3e3a80030bf /chrome/browser/renderer_host/render_widget_host.h
parent36df43b17c30bc9d9ddba3130d087b9c96af9b5f (diff)
downloadchromium_src-c88c9447549bc80ead4e76e95fb8348a742ae3bf.zip
chromium_src-c88c9447549bc80ead4e76e95fb8348a742ae3bf.tar.gz
chromium_src-c88c9447549bc80ead4e76e95fb8348a742ae3bf.tar.bz2
Let PaintAtAck send an int tag instead of the TransportDIB handle.
TransportDIB handles are file descriptors on mac, which are duped when sent over IPC. Hence, they change their value, and the handle that comes back over IPC is not the same that was originally sent -- so they can't be used as map keys. BUG=none TEST=none Review URL: http://codereview.chromium.org/3037006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52925 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host.h b/chrome/browser/renderer_host/render_widget_host.h
index 0b0e114..26cabbc 100644
--- a/chrome/browser/renderer_host/render_widget_host.h
+++ b/chrome/browser/renderer_host/render_widget_host.h
@@ -222,6 +222,7 @@ class RenderWidgetHost : public IPC::Channel::Listener,
// logic that is normally invoked, and doesn't put the results into
// the backing store.
void PaintAtSize(TransportDIB::Handle dib_handle,
+ int tag,
const gfx::Size& page_size,
const gfx::Size& desired_size);
@@ -473,8 +474,7 @@ class RenderWidgetHost : public IPC::Channel::Listener,
void OnMsgRenderViewGone();
void OnMsgClose();
void OnMsgRequestMove(const gfx::Rect& pos);
- void OnMsgPaintAtSizeAck(const TransportDIB::Handle& dib_handle,
- const gfx::Size& size);
+ void OnMsgPaintAtSizeAck(int tag, const gfx::Size& size);
void OnMsgUpdateRect(const ViewHostMsg_UpdateRect_Params& params);
void OnMsgCreateVideo(const gfx::Size& size);
void OnMsgUpdateVideo(TransportDIB::Id bitmap, const gfx::Rect& bitmap_rect);