1 // Copyright 2012 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 "cc/resources/layer_updater.h" 6 7 #include "cc/resources/prioritized_resource.h" 8 9 namespace cc { 10 Resource(scoped_ptr<PrioritizedResource> texture)11LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture) 12 : texture_(texture.Pass()) {} 13 ~Resource()14LayerUpdater::Resource::~Resource() {} 15 16 } // namespace cc 17