blob: e76bad21864c5fe3c1618d81c27f12e3049d7ecc [file] [log] [blame]
// 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 "cc/test/fake_mask_layer_impl.h"
#include "base/memory/ptr_util.h"
namespace cc {
FakeMaskLayerImpl::FakeMaskLayerImpl(LayerTreeImpl* tree_impl, int id)
: LayerImpl(tree_impl, id) {}
std::unique_ptr<FakeMaskLayerImpl> FakeMaskLayerImpl::Create(
LayerTreeImpl* tree_impl,
int id) {
return base::WrapUnique(new FakeMaskLayerImpl(tree_impl, id));
}
void FakeMaskLayerImpl::GetContentsResourceId(ResourceId* resource_id,
gfx::Size* resource_size) const {
*resource_id = 0;
}
} // namespace cc