blob: 64c9b8a5ac937ca720a35a8d994d591bcdbeeed0 [file] [log] [blame]
// 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