mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 91424.
- Add tools/gyp_cef to satisfy grit_info.py module load requirement. - Add skia_gpu.patch to work around skia/Angle/WebGL bug. git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@263 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -369,7 +369,11 @@ void WebWidgetHost::Paint() {
|
||||
}
|
||||
}
|
||||
|
||||
webwidget_->animate();
|
||||
#ifdef WEBWIDGET_HAS_ANIMATE_CHANGES
|
||||
webwidget_->animate(0.0);
|
||||
#else
|
||||
webwidget_->animate();
|
||||
#endif
|
||||
|
||||
// This may result in more invalidation
|
||||
webwidget_->layout();
|
||||
@@ -406,7 +410,8 @@ void WebWidgetHost::Paint() {
|
||||
gdk_window_begin_paint_rect(window, &grect);
|
||||
|
||||
// BitBlit to the gdk window.
|
||||
cairo_t* source_surface = canvas_->beginPlatformPaint();
|
||||
skia::ScopedPlatformPaint scoped_platform_paint(canvas_.get());
|
||||
cairo_t* source_surface = scoped_platform_paint.GetPlatformSurface();
|
||||
cairo_t* cairo_drawable = gdk_cairo_create(window);
|
||||
cairo_set_source_surface(cairo_drawable, cairo_get_target(source_surface),
|
||||
0, 0);
|
||||
|
Reference in New Issue
Block a user