summaryrefslogtreecommitdiffstats
path: root/ui/compositor/layer_owner.cc
blob: 1f4ffc861103d697ff48449cae1ddaafb54c4fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 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 "ui/compositor/layer_owner.h"

namespace ui {

LayerOwner::LayerOwner()
    : layer_(NULL) {
}

LayerOwner::~LayerOwner() {
}

Layer* LayerOwner::AcquireLayer() {
  return layer_owner_.release();
}

}  // namespace ui