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

Side by Side Diff: cc/surfaces/scoped_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 2017 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/scoped_surface_reference.h"
6
7 namespace cc {
8
9 ScopedSurfaceReference::ScopedSurfaceReference(
10 scoped_refptr<const SurfaceReferenceFactory> factory,
11 const SurfaceReference& surface_reference)
12 : ScopedSurfaceReferenceBase(factory),
13 surface_reference_(surface_reference) {}
14
15 ScopedSurfaceReference::~ScopedSurfaceReference() {
16 Destroy();
17 }
18
19 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698