mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
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:
@@ -355,7 +355,6 @@ void WebWidgetHost::Paint(const gfx::Rect& dirty_rect) {
|
|||||||
canvas_h_ < client_rect.height() ||
|
canvas_h_ < client_rect.height() ||
|
||||||
canvas_w_ > client_rect.width() + kCanvasGrowSize * 2 ||
|
canvas_w_ > client_rect.width() + kCanvasGrowSize * 2 ||
|
||||||
canvas_h_ > client_rect.height() + kCanvasGrowSize * 2) {
|
canvas_h_ > client_rect.height() + kCanvasGrowSize * 2) {
|
||||||
ResetScrollRect();
|
|
||||||
paint_rect_ = client_rect;
|
paint_rect_ = client_rect;
|
||||||
|
|
||||||
// Resize the canvas to be within a reasonable size of the client area.
|
// 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);
|
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) {
|
void WebWidgetHost::PaintRect(const gfx::Rect& rect) {
|
||||||
set_painting(true);
|
set_painting(true);
|
||||||
webwidget_->paint(canvas_.get(), rect);
|
webwidget_->paint(canvas_.get(), rect);
|
||||||
|
Reference in New Issue
Block a user