Use SCHEME_HTTP for HTTPS proxies on Android.
[chromium-blink-merge.git] / cc / delegated_renderer_layer.cc
bloba1c78532cbf62416a10f0362cd0cd69054bd5b7d
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.
5 #include "cc/delegated_renderer_layer.h"
7 #include "cc/delegated_renderer_layer_impl.h"
9 namespace cc {
11 scoped_refptr<DelegatedRendererLayer> DelegatedRendererLayer::create()
13 return scoped_refptr<DelegatedRendererLayer>(new DelegatedRendererLayer());
16 DelegatedRendererLayer::DelegatedRendererLayer()
17 : Layer()
19 setIsDrawable(true);
20 setMasksToBounds(true);
23 DelegatedRendererLayer::~DelegatedRendererLayer()
27 scoped_ptr<LayerImpl> DelegatedRendererLayer::createLayerImpl(LayerTreeHostImpl* hostImpl)
29 return DelegatedRendererLayerImpl::create(hostImpl, m_layerId).PassAs<LayerImpl>();
32 } // namespace cc