mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 167921.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@909 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -385,7 +385,7 @@ void WebWidgetHost::Paint() {
|
||||
// Resize the canvas to be within a reasonable size of the client area.
|
||||
canvas_w_ = client_rect.width() + kCanvasGrowSize;
|
||||
canvas_h_ = client_rect.height() + kCanvasGrowSize;
|
||||
canvas_.reset(new skia::PlatformCanvas(canvas_w_, canvas_h_, true));
|
||||
canvas_.reset(skia::CreatePlatformCanvas(canvas_w_, canvas_h_, true));
|
||||
}
|
||||
} else if (!canvas_.get() || canvas_w_ != client_rect.width() ||
|
||||
canvas_h_ != client_rect.height()) {
|
||||
@@ -394,7 +394,7 @@ void WebWidgetHost::Paint() {
|
||||
// The canvas must be the exact size of the client area.
|
||||
canvas_w_ = client_rect.width();
|
||||
canvas_h_ = client_rect.height();
|
||||
canvas_.reset(new skia::PlatformCanvas(canvas_w_, canvas_h_, true));
|
||||
canvas_.reset(skia::CreatePlatformCanvas(canvas_w_, canvas_h_, true));
|
||||
}
|
||||
|
||||
webwidget_->animate(0.0);
|
||||
|
Reference in New Issue
Block a user