Index: components/plugins/renderer/webview_plugin.cc |
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
index c8abe0bc001461cf4ccc183bfebadff2e50e7eb7..926a3ae0df74e7c0137f07bcc7bbe93aad353231 100644 |
--- a/components/plugins/renderer/webview_plugin.cc |
+++ b/components/plugins/renderer/webview_plugin.cc |
@@ -235,6 +235,11 @@ void WebViewPlugin::didChangeCursor(const WebCursorInfo& cursor) { |
current_cursor_ = cursor; |
} |
+void WebViewPlugin::scheduleAnimation() { |
+ if (container_) |
+ container_->invalidate(); |
+} |
+ |
void WebViewPlugin::didClearWindowObject(WebLocalFrame* frame) { |
if (delegate_) |
delegate_->BindWebFrame(frame); |