| Index: webkit/tools/test_shell/webwidget_host_win.cc
|
| diff --git a/webkit/tools/test_shell/webwidget_host_win.cc b/webkit/tools/test_shell/webwidget_host_win.cc
|
| index 54e2d118c7d63b894c7a9755bde4b0e8892c09e8..46919b889eebe7c3d5cad675b69b395c47c8f74e 100644
|
| --- a/webkit/tools/test_shell/webwidget_host_win.cc
|
| +++ b/webkit/tools/test_shell/webwidget_host_win.cc
|
| @@ -200,7 +200,8 @@ WebWidgetHost::WebWidgetHost()
|
| webwidget_(NULL),
|
| track_mouse_leave_(false),
|
| scroll_dx_(0),
|
| - scroll_dy_(0) {
|
| + scroll_dy_(0),
|
| + ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {
|
| set_painting(false);
|
| }
|
|
|
| @@ -242,6 +243,8 @@ void WebWidgetHost::Paint() {
|
| paint_rect_.width(), paint_rect_.height(), true));
|
| }
|
|
|
| + webwidget_->animate();
|
| +
|
| // This may result in more invalidation
|
| webwidget_->layout();
|
|
|
|
|