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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/surfaces/sequence_surface_reference.h" 5 #include "cc/surfaces/scoped_surface_sequence.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 SequenceSurfaceReference::SequenceSurfaceReference( 9 ScopedSurfaceSequence::ScopedSurfaceSequence(
10 scoped_refptr<const SurfaceReferenceFactory> factory, 10 scoped_refptr<const SurfaceReferenceFactory> factory,
11 const SurfaceSequence& sequence) 11 const SurfaceSequence& sequence)
12 : SurfaceReferenceBase(factory), sequence_(sequence) {} 12 : ScopedSurfaceReferenceBase(factory), sequence_(sequence) {}
13 13
14 SequenceSurfaceReference::~SequenceSurfaceReference() { 14 ScopedSurfaceSequence::~ScopedSurfaceSequence() {
15 Destroy(); 15 Destroy();
16 } 16 }
17 17
18 } // namespace cc 18 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698