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.
7 #include "LayerTextureUpdater.h"
11 LayerTextureUpdater::Texture::Texture(scoped_ptr
<CCPrioritizedTexture
> texture
)
12 : m_texture(texture
.Pass())
16 LayerTextureUpdater::Texture::~Texture()
20 bool LayerTextureUpdater::Texture::backingResourceWasEvicted() const
22 return m_texture
->backingResourceWasEvicted();