diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 11:43:31 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-11 11:43:31 +0000 |
commit | 0a6fc039802f84e286934bf8069f3cbf35311e14 (patch) | |
tree | 69b05c6c0e9810f7548f8c53dfe6a185354c1021 /chrome/common/render_messages.h | |
parent | 125bcccbad102e2c1e2663b3da293e925d09fb46 (diff) | |
download | chromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.zip chromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.tar.gz chromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.tar.bz2 |
Revert mad's backing store changes, it completely hosed Linux painting.
This was r18090, reverted in r18092, recommitted without review in 18130.
Review URL: http://codereview.chromium.org/122034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 96ffd631..57cdcc8 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -159,17 +159,12 @@ struct ViewHostMsg_PaintRect_Flags { }; struct ViewHostMsg_PaintRect_Params { - // The bitmap to be painted into the rects given by paint_rects. + // The bitmap to be painted into the rect given by bitmap_rect. TransportDIB::Id bitmap; - // The position and size of the the bitmap relative to the view port. + // The position and size of the bitmap. gfx::Rect bitmap_rect; - // The position and size of the rects where the bitmap has data to be - // painted to the view. An empty vector means that the whole bitmap has - // data to be painted to the view. - std::vector<gfx::Rect> paint_rects; - // The size of the RenderView when this message was generated. This is // included so the host knows how large the view is from the perspective of // the renderer process. This is necessary in case a resize operation is in @@ -865,7 +860,6 @@ struct ParamTraits<ViewHostMsg_PaintRect_Params> { static void Write(Message* m, const param_type& p) { WriteParam(m, p.bitmap); WriteParam(m, p.bitmap_rect); - WriteParam(m, p.paint_rects); WriteParam(m, p.view_size); WriteParam(m, p.plugin_window_moves); WriteParam(m, p.flags); @@ -874,7 +868,6 @@ struct ParamTraits<ViewHostMsg_PaintRect_Params> { return ReadParam(m, iter, &p->bitmap) && ReadParam(m, iter, &p->bitmap_rect) && - ReadParam(m, iter, &p->paint_rects) && ReadParam(m, iter, &p->view_size) && ReadParam(m, iter, &p->plugin_window_moves) && ReadParam(m, iter, &p->flags); @@ -885,8 +878,6 @@ struct ParamTraits<ViewHostMsg_PaintRect_Params> { l->append(L", "); LogParam(p.bitmap_rect, l); l->append(L", "); - LogParam(p.paint_rects, l); - l->append(L", "); LogParam(p.view_size, l); l->append(L", "); LogParam(p.plugin_window_moves, l); |