summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index bcf58b0..ee1ccd9 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -523,8 +523,7 @@ void RenderWidget::DoDeferredUpdate() {
dib_id = current_paint_buf_->id();
} else { // Accelerated compositing path
// Begin painting.
- bool finish = next_paint_is_resize_ack();
- webwidget_->composite(finish);
+ webwidget_->composite(false);
}
// sending an ack to browser process that the paint is complete...
@@ -628,7 +627,7 @@ void RenderWidget::didScrollRect(int dx, int dy, const WebRect& clip_rect) {
void RenderWidget::didActivateAcceleratedCompositing(bool active) {
is_accelerated_compositing_active_ = active;
- Send(new ViewHostMsg_GpuRenderingActivated(
+ Send(new ViewHostMsg_DidActivateAcceleratedCompositing(
routing_id_, is_accelerated_compositing_active_));
}