| Index: cc/test/failure_output_surface.cc
|
| diff --git a/cc/test/failure_output_surface.cc b/cc/test/failure_output_surface.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2c878534b7dd5ddd967dbb9dca25629dff98e465
|
| --- /dev/null
|
| +++ b/cc/test/failure_output_surface.cc
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2014 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 "cc/test/failure_output_surface.h"
|
| +
|
| +namespace cc {
|
| +
|
| +FailureOutputSurface::FailureOutputSurface(bool is_delegating)
|
| + : FakeOutputSurface(nullptr, nullptr, is_delegating) {
|
| +}
|
| +
|
| +bool FailureOutputSurface::BindToClient(OutputSurfaceClient* client) {
|
| + // This will force this output surface to not initialize in LTHI
|
| + // and eventually get back to LTH::DidFailToInitializeOutputSurface;
|
| + return false;
|
| +}
|
| +
|
| +} // namespace cc
|
|
|