Index: webkit/tools/test_shell/webwidget_host.cc |
diff --git a/webkit/tools/test_shell/webwidget_host.cc b/webkit/tools/test_shell/webwidget_host.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b1d282929281f851229ebe342e39ac8971880b55 |
--- /dev/null |
+++ b/webkit/tools/test_shell/webwidget_host.cc |
@@ -0,0 +1,14 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "webkit/tools/test_shell/webwidget_host.h" |
+ |
+#include "base/message_loop.h" |
+ |
+void WebWidgetHost::ScheduleAnimation() { |
+ MessageLoop::current()->PostTask(FROM_HERE, |
+ factory_.NewRunnableMethod(&WebWidgetHost::ScheduleComposite)); |
+} |
+ |
darin (slow to review)
2011/01/13 07:13:24
nit: extra whitespace at the end of the file
|
+ |