| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #include <public/WebLayer.h> | 6 #include <public/WebLayer.h> |
| 7 | 7 |
| 8 #include "CompositorFakeWebGraphicsContext3D.h" | 8 #include "CompositorFakeWebGraphicsContext3D.h" |
| 9 #include "WebLayerImpl.h" | 9 #include "WebLayerImpl.h" |
| 10 #include "WebLayerTreeViewTestCommon.h" | 10 #include "WebLayerTreeViewTestCommon.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 m_rootLayer->addChild(contentLayer->layer()); | 146 m_rootLayer->addChild(contentLayer->layer()); |
| 147 Mock::VerifyAndClearExpectations(&m_client); | 147 Mock::VerifyAndClearExpectations(&m_client); |
| 148 | 148 |
| 149 EXPECT_CALL(m_client, scheduleComposite()).Times(AtLeast(1)); | 149 EXPECT_CALL(m_client, scheduleComposite()).Times(AtLeast(1)); |
| 150 contentLayer->layer()->setDrawsContent(false); | 150 contentLayer->layer()->setDrawsContent(false); |
| 151 Mock::VerifyAndClearExpectations(&m_client); | 151 Mock::VerifyAndClearExpectations(&m_client); |
| 152 EXPECT_FALSE(contentLayer->layer()->drawsContent()); | 152 EXPECT_FALSE(contentLayer->layer()->drawsContent()); |
| 153 } | 153 } |
| 154 | 154 |
| 155 } | 155 } |
| OLD | NEW |