blob: 32b399beca739aa88fbfad2feb72d3917db3d7c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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/bind.h"
#include "base/message_loop.h"
void WebWidgetHost::ScheduleAnimation() {
MessageLoop::current()->PostDelayedTask(
FROM_HERE,
base::Bind(&WebWidgetHost::ScheduleComposite, weak_factory_.GetWeakPtr()),
10);
}
|