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

Side by Side Diff: cc/quads/render_pass_unittest.cc

Issue 16085003: Update refernces to Blink's Platform API (cc) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/quads/render_pass_draw_quad.h ('k') | cc/resources/platform_color.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 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/quads/render_pass.h" 5 #include "cc/quads/render_pass.h"
6 6
7 #include "cc/base/math_util.h" 7 #include "cc/base/math_util.h"
8 #include "cc/base/scoped_ptr_vector.h" 8 #include "cc/base/scoped_ptr_vector.h"
9 #include "cc/output/copy_output_request.h" 9 #include "cc/output/copy_output_request.h"
10 #include "cc/quads/checkerboard_draw_quad.h" 10 #include "cc/quads/checkerboard_draw_quad.h"
11 #include "cc/test/geometry_test_utils.h" 11 #include "cc/test/geometry_test_utils.h"
12 #include "cc/test/render_pass_test_common.h" 12 #include "cc/test/render_pass_test_common.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations .h" 14 #include "third_party/WebKit/public/platform/WebFilterOperations.h"
15 #include "third_party/skia/include/effects/SkBlurImageFilter.h" 15 #include "third_party/skia/include/effects/SkBlurImageFilter.h"
16 #include "ui/gfx/transform.h" 16 #include "ui/gfx/transform.h"
17 17
18 using cc::TestRenderPass; 18 using cc::TestRenderPass;
19 19
20 namespace cc { 20 namespace cc {
21 namespace { 21 namespace {
22 22
23 struct RenderPassSize { 23 struct RenderPassSize {
24 // If you add a new field to this class, make sure to add it to the 24 // If you add a new field to this class, make sure to add it to the
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 // The copy request should not be copied/duplicated. 80 // The copy request should not be copied/duplicated.
81 EXPECT_EQ(1u, pass->copy_requests.size()); 81 EXPECT_EQ(1u, pass->copy_requests.size());
82 EXPECT_EQ(0u, copy->copy_requests.size()); 82 EXPECT_EQ(0u, copy->copy_requests.size());
83 83
84 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass)); 84 EXPECT_EQ(sizeof(RenderPassSize), sizeof(RenderPass));
85 } 85 }
86 86
87 } // namespace 87 } // namespace
88 } // namespace cc 88 } // namespace cc
OLDNEW
« no previous file with comments | « cc/quads/render_pass_draw_quad.h ('k') | cc/resources/platform_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698