Index: components/plugins/renderer/webview_plugin.cc |
diff --git a/components/plugins/renderer/webview_plugin.cc b/components/plugins/renderer/webview_plugin.cc |
index 96347fd5b22894d909c842c3dc25a6d2309d1aa9..fc273adc9eb8c0e7af5013cdc7936b6c6bfbbcc1 100644 |
--- a/components/plugins/renderer/webview_plugin.cc |
+++ b/components/plugins/renderer/webview_plugin.cc |
@@ -258,7 +258,7 @@ void WebViewPlugin::didChangeCursor(const WebCursorInfo& cursor) { |
void WebViewPlugin::scheduleAnimation() { |
if (container_) |
- container_->invalidate(); |
+ container_->setNeedsLayout(); |
} |
void WebViewPlugin::didClearWindowObject(WebLocalFrame* frame) { |