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

Unified Diff: cc/surfaces/scoped_surface_sequence.cc

Issue 2616403003: Replacing SurfaceReferenceBase and SequenceSurfaceReference with Closures (Closed)
Patch Set: c Created 3 years, 11 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
Index: cc/surfaces/scoped_surface_sequence.cc
diff --git a/cc/surfaces/sequence_surface_reference.cc b/cc/surfaces/scoped_surface_sequence.cc
similarity index 58%
rename from cc/surfaces/sequence_surface_reference.cc
rename to cc/surfaces/scoped_surface_sequence.cc
index 61e41b2170b96a8740215c7d27e4722bb2c72c08..88c7defe84d9f1cd1422d9e0ef93191d2ddb42c4 100644
--- a/cc/surfaces/sequence_surface_reference.cc
+++ b/cc/surfaces/scoped_surface_sequence.cc
@@ -2,16 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cc/surfaces/sequence_surface_reference.h"
+#include "cc/surfaces/scoped_surface_sequence.h"
namespace cc {
-SequenceSurfaceReference::SequenceSurfaceReference(
+ScopedSurfaceSequence::ScopedSurfaceSequence(
scoped_refptr<const SurfaceReferenceFactory> factory,
const SurfaceSequence& sequence)
- : SurfaceReferenceBase(factory), sequence_(sequence) {}
+ : ScopedSurfaceReferenceBase(factory), sequence_(sequence) {}
-SequenceSurfaceReference::~SequenceSurfaceReference() {
+ScopedSurfaceSequence::~ScopedSurfaceSequence() {
Destroy();
}

Powered by Google App Engine
This is Rietveld 408576698