summaryrefslogtreecommitdiff
path: root/chromium/cc/resources/layer_updater.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/resources/layer_updater.cc')
-rw-r--r--chromium/cc/resources/layer_updater.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chromium/cc/resources/layer_updater.cc b/chromium/cc/resources/layer_updater.cc
new file mode 100644
index 00000000000..aa7d1a4622e
--- /dev/null
+++ b/chromium/cc/resources/layer_updater.cc
@@ -0,0 +1,16 @@
+// 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 "cc/resources/layer_updater.h"
+
+#include "cc/resources/prioritized_resource.h"
+
+namespace cc {
+
+LayerUpdater::Resource::Resource(scoped_ptr<PrioritizedResource> texture)
+ : texture_(texture.Pass()) {}
+
+LayerUpdater::Resource::~Resource() {}
+
+} // namespace cc