Linux: Fix revision 369 compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@370 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
9d2dbef101
commit
cee94a1db9
|
@ -355,7 +355,6 @@ void WebWidgetHost::Paint(const gfx::Rect& dirty_rect) {
|
|||
canvas_h_ < client_rect.height() ||
|
||||
canvas_w_ > client_rect.width() + kCanvasGrowSize * 2 ||
|
||||
canvas_h_ > client_rect.height() + kCanvasGrowSize * 2) {
|
||||
ResetScrollRect();
|
||||
paint_rect_ = client_rect;
|
||||
|
||||
// Resize the canvas to be within a reasonable size of the client area.
|
||||
|
@ -444,11 +443,6 @@ WebScreenInfo WebWidgetHost::GetScreenInfo() {
|
|||
return WebScreenInfoFactory::screenInfo(display, screen_num);
|
||||
}
|
||||
|
||||
void WebWidgetHost::ResetScrollRect() {
|
||||
// This method is only needed for optimized scroll painting, which we don't
|
||||
// care about in the test shell, yet.
|
||||
}
|
||||
|
||||
void WebWidgetHost::PaintRect(const gfx::Rect& rect) {
|
||||
set_painting(true);
|
||||
webwidget_->paint(canvas_.get(), rect);
|
||||
|
|
Loading…
Reference in New Issue