OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 | 6 |
7 #include "TextureLayerChromium.h" | 7 #include "TextureLayerChromium.h" |
8 | 8 |
9 #include "CCLayerTreeHost.h" | 9 #include "CCLayerTreeHost.h" |
10 #include "FakeCCLayerTreeHostClient.h" | 10 #include "FakeCCLayerTreeHostClient.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(0); | 107 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(0); |
108 testLayer->setTextureId(1); | 108 testLayer->setTextureId(1); |
109 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); | 109 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); |
110 | 110 |
111 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(AtLeast(1)); | 111 EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(AtLeast(1)); |
112 testLayer->removeFromParent(); | 112 testLayer->removeFromParent(); |
113 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); | 113 Mock::VerifyAndClearExpectations(m_layerTreeHost.get()); |
114 } | 114 } |
115 | 115 |
116 } // anonymous namespace | 116 } // anonymous namespace |
OLD | NEW |