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

Side by Side Diff: webkit/compositor_bindings/WebDelegatedRendererLayerImpl.cpp

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "WebDelegatedRendererLayerImpl.h" 6 #include "WebDelegatedRendererLayerImpl.h"
7 7
8 #include "DelegatedRendererLayerChromium.h" 8 #include "cc/delegated_renderer_layer.h"
9 #include <wtf/PassOwnPtr.h>
10 9
11 using namespace cc; 10 using namespace cc;
12 11
13 namespace WebKit { 12 namespace WebKit {
14 13
15 WebDelegatedRendererLayerImpl::WebDelegatedRendererLayerImpl() 14 WebDelegatedRendererLayerImpl::WebDelegatedRendererLayerImpl()
16 : m_layer(adoptPtr(new WebLayerImpl(DelegatedRendererLayerChromium::create() ))) 15 : m_layer(new WebLayerImpl(DelegatedRendererLayerChromium::create()))
17 { 16 {
18 } 17 }
19 18
20 WebDelegatedRendererLayerImpl::~WebDelegatedRendererLayerImpl() 19 WebDelegatedRendererLayerImpl::~WebDelegatedRendererLayerImpl()
21 { 20 {
22 } 21 }
23 22
24 WebLayer* WebDelegatedRendererLayerImpl::layer() 23 WebLayer* WebDelegatedRendererLayerImpl::layer()
25 { 24 {
26 return m_layer.get(); 25 return m_layer.get();
27 } 26 }
28 27
29 } // namespace WebKit 28 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/WebDelegatedRendererLayerImpl.h ('k') | webkit/compositor_bindings/WebExternalTextureLayerImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698