| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |