mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Revert: Improve CPU usage by ignoring ScheduleAnimation() and ScheduleComposite() calls when not using accelerated compositing (issue #456).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@422 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -303,9 +303,6 @@ void WebWidgetHost::DidScrollRect(int dx, int dy, const gfx::Rect& clip_rect) {
|
||||
}
|
||||
|
||||
void WebWidgetHost::ScheduleComposite() {
|
||||
if (!webwidget_ || !webwidget_->isAcceleratedCompositingActive())
|
||||
return;
|
||||
|
||||
int width = logical_size_.width();
|
||||
int height = logical_size_.height();
|
||||
GdkRectangle grect = {
|
||||
|
Reference in New Issue
Block a user