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

Side by Side Diff: cc/scheduler/scheduler_state_machine_unittest.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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/scheduler/scheduler_state_machine.h ('k') | cc/scheduler/scheduler_unittest.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/scheduler/scheduler_state_machine.h" 5 #include "cc/scheduler/scheduler_state_machine.h"
6 6
7 #include <stddef.h>
8
7 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
8 #include "cc/scheduler/scheduler.h" 10 #include "cc/scheduler/scheduler.h"
9 #include "cc/test/begin_frame_args_test.h" 11 #include "cc/test/begin_frame_args_test.h"
10 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
11 13
12 // Macro to compare two enum values and get nice output. 14 // Macro to compare two enum values and get nice output.
13 // Without: 15 // Without:
14 // Value of: actual() Actual: 7 16 // Value of: actual() Actual: 7
15 // Expected: expected() Which is: 0 17 // Expected: expected() Which is: 0
16 // With: 18 // With:
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2022 EXPECT_FALSE(state.ProactiveBeginFrameWanted()); 2024 EXPECT_FALSE(state.ProactiveBeginFrameWanted());
2023 bool commit_has_no_updates = true; 2025 bool commit_has_no_updates = true;
2024 state.WillCommit(commit_has_no_updates); 2026 state.WillCommit(commit_has_no_updates);
2025 EXPECT_TRUE(state.ProactiveBeginFrameWanted()); 2027 EXPECT_TRUE(state.ProactiveBeginFrameWanted());
2026 state.OnBeginImplFrame(); 2028 state.OnBeginImplFrame();
2027 EXPECT_FALSE(state.ProactiveBeginFrameWanted()); 2029 EXPECT_FALSE(state.ProactiveBeginFrameWanted());
2028 } 2030 }
2029 2031
2030 } // namespace 2032 } // namespace
2031 } // namespace cc 2033 } // namespace cc
OLDNEW
« no previous file with comments | « cc/scheduler/scheduler_state_machine.h ('k') | cc/scheduler/scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698