Index: cc/LayerTextureUpdater.cpp |
diff --git a/cc/LayerTextureUpdater.cpp b/cc/LayerTextureUpdater.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ed61a35b1986cdcaf3cd9ba00c375d38d049d98c |
--- /dev/null |
+++ b/cc/LayerTextureUpdater.cpp |
@@ -0,0 +1,25 @@ |
+// Copyright 2012 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 "config.h" |
+ |
+#include "LayerTextureUpdater.h" |
+ |
+namespace cc { |
+ |
+LayerTextureUpdater::Texture::Texture(PassOwnPtr<CCPrioritizedTexture> texture) |
+ : m_texture(texture) |
+{ |
+} |
+ |
+LayerTextureUpdater::Texture::~Texture() |
+{ |
+} |
+ |
+bool LayerTextureUpdater::Texture::backingResourceWasEvicted() const |
+{ |
+ return m_texture->backingResourceWasEvicted(); |
+} |
+ |
+} |