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

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

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/layers/render_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/picture_layer_impl.h" 5 #include "cc/layers/picture_layer_impl.h"
6 6
7 #include <utility>
8
7 #include "cc/layers/picture_layer.h" 9 #include "cc/layers/picture_layer.h"
8 #include "cc/test/fake_content_layer_client.h" 10 #include "cc/test/fake_content_layer_client.h"
9 #include "cc/test/fake_impl_proxy.h" 11 #include "cc/test/fake_impl_proxy.h"
10 #include "cc/test/fake_layer_tree_host_impl.h" 12 #include "cc/test/fake_layer_tree_host_impl.h"
11 #include "cc/test/fake_output_surface.h" 13 #include "cc/test/fake_output_surface.h"
12 #include "cc/test/impl_side_painting_settings.h" 14 #include "cc/test/impl_side_painting_settings.h"
13 #include "cc/trees/layer_tree_impl.h" 15 #include "cc/trees/layer_tree_impl.h"
14 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/skia/include/core/SkDevice.h" 17 #include "third_party/skia/include/core/SkDevice.h"
16 #include "ui/gfx/rect_conversions.h" 18 #include "ui/gfx/rect_conversions.h"
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 used_tilings.push_back(active_layer_->tilings().tiling_at(1)); 687 used_tilings.push_back(active_layer_->tilings().tiling_at(1));
686 active_layer_->CleanUpTilingsOnActiveLayer(used_tilings); 688 active_layer_->CleanUpTilingsOnActiveLayer(used_tilings);
687 ASSERT_EQ(3u, active_layer_->tilings().num_tilings()); 689 ASSERT_EQ(3u, active_layer_->tilings().num_tilings());
688 used_tilings.clear(); 690 used_tilings.clear();
689 active_layer_->CleanUpTilingsOnActiveLayer(used_tilings); 691 active_layer_->CleanUpTilingsOnActiveLayer(used_tilings);
690 ASSERT_EQ(2u, active_layer_->tilings().num_tilings()); 692 ASSERT_EQ(2u, active_layer_->tilings().num_tilings());
691 } 693 }
692 694
693 } // namespace 695 } // namespace
694 } // namespace cc 696 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/layers/render_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698