Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2711)

Unified Diff: cc/LayerTextureUpdater.cpp

Issue 10947047: Fix remaining cc files to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FakeCCDelayBasedTimeSource Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/LayerTextureUpdater.h ('k') | cc/ScrollbarLayerChromium.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
+}
+
+}
« no previous file with comments | « cc/LayerTextureUpdater.h ('k') | cc/ScrollbarLayerChromium.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698