1 // Copyright (c) 2012 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 "ui/compositor/layer_owner.h" 6 7 namespace ui { 8 9 LayerOwner::LayerOwner() 10 : layer_(NULL) { 11 } 12 13 LayerOwner::~LayerOwner() { 14 } 15 16 Layer* LayerOwner::AcquireLayer() { 17 return layer_owner_.release(); 18 } 19 20 } // namespace ui 21