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

Side by Side Diff: cc/surfaces/sequence_surface_reference.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "cc/surfaces/sequence_surface_reference.h"
6
7 namespace cc {
8
9 SequenceSurfaceReference::SequenceSurfaceReference(
10 scoped_refptr<const SurfaceReferenceFactory> factory,
11 const SurfaceSequence& sequence)
12 : SurfaceReferenceBase(factory), sequence_(sequence) {}
13
14 SequenceSurfaceReference::~SequenceSurfaceReference() {
15 Destroy();
16 }
17
18 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698