OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "config.h" |
| 6 #include "web/tests/mocks/MockLayerTreeView.h" |
| 7 |
| 8 #include "public/platform/Platform.h" |
| 9 #include "public/platform/WebUnitTestSupport.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 MockLayerTreeView::MockLayerTreeView() |
| 14 : m_layerTreeView(adoptPtr(Platform::current()->unitTestSupport()->createLay
erTreeViewForTesting())) |
| 15 , m_needsAnimate(false) |
| 16 , m_deferCommits(true) |
| 17 { |
| 18 ASSERT(m_layerTreeView); |
| 19 } |
| 20 |
| 21 } // namespace blink |
OLD | NEW |