Index: content/shell/renderer/test_runner/WebTestProxy.cpp |
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp |
index 70bb6b7c95a3cb49db04dc7d3f48f33985064b17..99069bab7575b3ff7fe656abf8ca50b5b68ca530 100644 |
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp |
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp |
@@ -738,6 +738,11 @@ void WebTestProxyBase::animateNow() |
} |
} |
+bool WebTestProxyBase::isCompositorFramePending() const |
+{ |
+ return m_animateScheduled || !m_paintRect.isEmpty(); |
+} |
+ |
void WebTestProxyBase::show(WebNavigationPolicy) |
{ |
invalidateAll(); |