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:
Marshall Greenblatt
2011-12-15 16:47:38 +00:00
parent 198d63cd2a
commit 10b3b3cc41
4 changed files with 1 additions and 11 deletions

View File

@@ -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 = {