OLD | NEW |
---|---|
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/picture_layer_impl.h" | 5 #include "cc/picture_layer_impl.h" |
6 | 6 |
7 #include "base/debug/trace_event.h" | |
enne (OOO)
2013/01/30 06:53:56
Please don't add this unnecessary include.
whunt
2013/01/30 21:07:33
No idea how that got there. I'm not even sure wha
| |
7 #include "base/time.h" | 8 #include "base/time.h" |
8 #include "cc/append_quads_data.h" | 9 #include "cc/append_quads_data.h" |
9 #include "cc/checkerboard_draw_quad.h" | 10 #include "cc/checkerboard_draw_quad.h" |
10 #include "cc/debug_border_draw_quad.h" | 11 #include "cc/debug_border_draw_quad.h" |
11 #include "cc/debug_colors.h" | 12 #include "cc/debug_colors.h" |
12 #include "cc/layer_tree_impl.h" | 13 #include "cc/layer_tree_impl.h" |
13 #include "cc/math_util.h" | 14 #include "cc/math_util.h" |
14 #include "cc/quad_sink.h" | 15 #include "cc/quad_sink.h" |
15 #include "cc/solid_color_draw_quad.h" | 16 #include "cc/solid_color_draw_quad.h" |
16 #include "cc/tile_draw_quad.h" | 17 #include "cc/tile_draw_quad.h" |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
584 tilings_->Remove(to_remove[i]); | 585 tilings_->Remove(to_remove[i]); |
585 } | 586 } |
586 | 587 |
587 void PictureLayerImpl::getDebugBorderProperties( | 588 void PictureLayerImpl::getDebugBorderProperties( |
588 SkColor* color, float* width) const { | 589 SkColor* color, float* width) const { |
589 *color = DebugColors::TiledContentLayerBorderColor(); | 590 *color = DebugColors::TiledContentLayerBorderColor(); |
590 *width = DebugColors::TiledContentLayerBorderWidth(layerTreeImpl()); | 591 *width = DebugColors::TiledContentLayerBorderWidth(layerTreeImpl()); |
591 } | 592 } |
592 | 593 |
593 } // namespace cc | 594 } // namespace cc |
OLD | NEW |