| Index: webkit/tools/test_shell/webwidget_host_gtk.cc
|
| diff --git a/webkit/tools/test_shell/webwidget_host_gtk.cc b/webkit/tools/test_shell/webwidget_host_gtk.cc
|
| index 4f7a0f7d82ab98501612064d614497f2f7c6e044..05312fbb6c1b7e4521dbff3713376fd034b16231 100644
|
| --- a/webkit/tools/test_shell/webwidget_host_gtk.cc
|
| +++ b/webkit/tools/test_shell/webwidget_host_gtk.cc
|
| @@ -327,7 +327,8 @@ WebWidgetHost::WebWidgetHost()
|
| : view_(NULL),
|
| webwidget_(NULL),
|
| scroll_dx_(0),
|
| - scroll_dy_(0) {
|
| + scroll_dy_(0),
|
| + ALLOW_THIS_IN_INITIALIZER_LIST(factory_(this)) {
|
| set_painting(false);
|
| }
|
|
|
| @@ -364,6 +365,8 @@ void WebWidgetHost::Paint() {
|
| }
|
| }
|
|
|
| + webwidget_->animate();
|
| +
|
| // This may result in more invalidation
|
| webwidget_->layout();
|
|
|
|
|