Index: cc/thread_proxy.cc |
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
index 45148a33d257ee5cf0c73e7ebf4fd422b56bb44d..7e57fa4e62c7ffe4938e99bd527e38a346ed828c 100644 |
--- a/cc/thread_proxy.cc |
+++ b/cc/thread_proxy.cc |
@@ -1176,9 +1176,10 @@ void ThreadProxy::renewTreePriority() |
if (m_smoothnessTakesPriorityExpirationTime > base::TimeTicks::Now()) |
priority = SMOOTHNESS_TAKES_PRIORITY; |
- // New content always takes priority when we have an active tree with |
- // evicted resources. |
- if (m_layerTreeHostImpl->activeTree()->ContentsTexturesPurged()) |
+ // New content always takes priority when the active tree has |
+ // evicted resources or there is an invalid viewport size. |
+ if (m_layerTreeHostImpl->activeTree()->ContentsTexturesPurged() || |
+ m_layerTreeHostImpl->activeTree()->ViewportSizeInvalid()) |
priority = NEW_CONTENT_TAKES_PRIORITY; |
m_layerTreeHostImpl->setTreePriority(priority); |