Chromium Code Reviews| Index: Source/core/page/Chrome.cpp |
| diff --git a/Source/core/page/Chrome.cpp b/Source/core/page/Chrome.cpp |
| index dce9bbb2f2da2e50a6fdd2377d68edbf23f24e71..08f366c20200d13584da4b38825304a951a3bc7e 100644 |
| --- a/Source/core/page/Chrome.cpp |
| +++ b/Source/core/page/Chrome.cpp |
| @@ -372,6 +372,12 @@ void Chrome::scheduleAnimation() |
| // -------- |
| +void Chrome::scheduleAnimationForFrame(LocalFrame* rootFrame) |
|
dcheng
2014/11/24 22:30:38
Is rootFrame a local root? We should try to use co
kenrb
2014/11/25 17:14:56
Changed.
|
| +{ |
| + m_page->animator().setAnimationFramePending(); |
| + m_client->scheduleAnimationForFrame(rootFrame); |
| +} |
| + |
| bool Chrome::hasOpenedPopup() const |
| { |
| return m_client->hasOpenedPopup(); |