Chromium Code Reviews| Index: cc/layer_tree_host.cc |
| diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc |
| index 3b588f9289c5bc3a367c09f7236a797092bd5fdb..1bef57c29028167a57f673fcf9820b633df71be9 100644 |
| --- a/cc/layer_tree_host.cc |
| +++ b/cc/layer_tree_host.cc |
| @@ -328,6 +328,8 @@ void LayerTreeHost::finishCommitOnImplThread(LayerTreeHostImpl* hostImpl) |
| if (syncTree->ContentsTexturesPurged()) |
| syncTree->ResetContentsTexturesPurged(); |
| } |
| + if (syncTree->ViewportSizeInvalid()) |
|
enne (OOO)
2013/02/13 22:41:53
Maybe just always do this?
|
| + syncTree->ResetViewportSizeInvalid(); |
| m_commitNumber++; |
| } |