| Index: Source/web/tests/mocks/MockLayerTreeView.cpp
|
| diff --git a/Source/web/tests/mocks/MockLayerTreeView.cpp b/Source/web/tests/mocks/MockLayerTreeView.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..913fa5d5e8bc37af3568b69aff40541014fef5cf
|
| --- /dev/null
|
| +++ b/Source/web/tests/mocks/MockLayerTreeView.cpp
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "config.h"
|
| +#include "web/tests/mocks/MockLayerTreeView.h"
|
| +
|
| +#include "public/platform/Platform.h"
|
| +#include "public/platform/WebUnitTestSupport.h"
|
| +
|
| +namespace blink {
|
| +
|
| +MockLayerTreeView::MockLayerTreeView()
|
| + : m_layerTreeView(adoptPtr(Platform::current()->unitTestSupport()->createLayerTreeViewForTesting()))
|
| + , m_needsAnimate(false)
|
| + , m_deferCommits(true)
|
| +{
|
| + ASSERT(m_layerTreeView);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|