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

Side by Side Diff: cc/playback/display_item_list_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/playback/display_item_list.cc ('k') | cc/playback/display_list_raster_source.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/playback/display_item_list.h" 5 #include "cc/playback/display_item_list.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "cc/output/filter_operation.h" 11 #include "cc/output/filter_operation.h"
10 #include "cc/output/filter_operations.h" 12 #include "cc/output/filter_operations.h"
11 #include "cc/playback/clip_display_item.h" 13 #include "cc/playback/clip_display_item.h"
12 #include "cc/playback/clip_path_display_item.h" 14 #include "cc/playback/clip_path_display_item.h"
13 #include "cc/playback/compositing_display_item.h" 15 #include "cc/playback/compositing_display_item.h"
14 #include "cc/playback/display_item_list_settings.h" 16 #include "cc/playback/display_item_list_settings.h"
15 #include "cc/playback/drawing_display_item.h" 17 #include "cc/playback/drawing_display_item.h"
16 #include "cc/playback/filter_display_item.h" 18 #include "cc/playback/filter_display_item.h"
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 753
752 value = list->AsValue(false)->ToString(); 754 value = list->AsValue(false)->ToString();
753 EXPECT_EQ(value.find("\"items\":"), std::string::npos); 755 EXPECT_EQ(value.find("\"items\":"), std::string::npos);
754 EXPECT_NE(value.find("\"layer_rect\":[0,0,0,0]"), std::string::npos); 756 EXPECT_NE(value.find("\"layer_rect\":[0,0,0,0]"), std::string::npos);
755 // There should be no skp64 entry present as the items aren't included and the 757 // There should be no skp64 entry present as the items aren't included and the
756 // layer rect is empty. 758 // layer rect is empty.
757 EXPECT_EQ(value.find("\"skp64\":"), std::string::npos); 759 EXPECT_EQ(value.find("\"skp64\":"), std::string::npos);
758 } 760 }
759 761
760 } // namespace cc 762 } // namespace cc
OLDNEW
« no previous file with comments | « cc/playback/display_item_list.cc ('k') | cc/playback/display_list_raster_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698