cc: Separate the priority from the tile and put in new PrioritizedTile
[chromium-blink-merge.git] / cc / resources / layer_updater.cc
blobaa7d1a4622e1793cade1ebd1813fd7794997af4f
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.
5 #include "cc/resources/layer_updater.h"
7 #include "cc/resources/prioritized_resource.h"
9 namespace cc {
11 LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture)
12 : texture_(texture.Pass()) {}
14 LayerUpdater::Resource::~Resource() {}
16 } // namespace cc