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

Side by Side Diff: cc/layers/delegated_renderer_layer.cc

Issue 598643002: Cleanup: Removing unused code in DelegatedRendererLayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « cc/layers/delegated_renderer_layer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "cc/layers/delegated_renderer_layer.h" 5 #include "cc/layers/delegated_renderer_layer.h"
6 6
7 #include "cc/layers/delegated_renderer_layer_impl.h" 7 #include "cc/layers/delegated_renderer_layer_impl.h"
8 #include "cc/output/delegated_frame_data.h" 8 #include "cc/output/delegated_frame_data.h"
9 #include "cc/quads/render_pass_draw_quad.h" 9 #include "cc/quads/render_pass_draw_quad.h"
10 #include "cc/trees/blocking_task_runner.h"
11 #include "cc/trees/layer_tree_host.h" 10 #include "cc/trees/layer_tree_host.h"
12 11
13 namespace cc { 12 namespace cc {
14 13
15 scoped_refptr<DelegatedRendererLayer> DelegatedRendererLayer::Create( 14 scoped_refptr<DelegatedRendererLayer> DelegatedRendererLayer::Create(
16 const scoped_refptr<DelegatedFrameProvider>& frame_provider) { 15 const scoped_refptr<DelegatedFrameProvider>& frame_provider) {
17 return scoped_refptr<DelegatedRendererLayer>( 16 return scoped_refptr<DelegatedRendererLayer>(
18 new DelegatedRendererLayer(frame_provider)); 17 new DelegatedRendererLayer(frame_provider));
19 } 18 }
20 19
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 94
96 SetNeedsPushProperties(); 95 SetNeedsPushProperties();
97 return true; 96 return true;
98 } 97 }
99 98
100 bool DelegatedRendererLayer::HasDelegatedContent() const { 99 bool DelegatedRendererLayer::HasDelegatedContent() const {
101 return true; 100 return true;
102 } 101 }
103 102
104 } // namespace cc 103 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/delegated_renderer_layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698