1 // Copyright 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.
6 #include "DelegatedRendererLayerChromium.h"
8 #include "CCDelegatedRendererLayerImpl.h"
12 scoped_refptr
<DelegatedRendererLayerChromium
> DelegatedRendererLayerChromium::create()
14 return scoped_refptr
<DelegatedRendererLayerChromium
>(new DelegatedRendererLayerChromium());
17 DelegatedRendererLayerChromium::DelegatedRendererLayerChromium()
21 setMasksToBounds(true);
24 DelegatedRendererLayerChromium::~DelegatedRendererLayerChromium()
28 PassOwnPtr
<CCLayerImpl
> DelegatedRendererLayerChromium::createCCLayerImpl()
30 return CCDelegatedRendererLayerImpl::create(m_layerId
);