OLD | NEW |
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 "base/file_util.h" | 5 #include "base/files/file_util.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "third_party/skia/include/core/SkCanvas.h" | 7 #include "third_party/skia/include/core/SkCanvas.h" |
8 #include "third_party/skia/include/core/SkFlattenableSerialization.h" | 8 #include "third_party/skia/include/core/SkFlattenableSerialization.h" |
9 #include "third_party/skia/include/core/SkImageFilter.h" | 9 #include "third_party/skia/include/core/SkImageFilter.h" |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 static const int BitmapSize = 24; | 13 static const int BitmapSize = 24; |
14 | 14 |
15 bool ReadTestCase(const char* filename, std::string* ipc_filter_message) { | 15 bool ReadTestCase(const char* filename, std::string* ipc_filter_message) { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 if (!ReadAndRunTestCase(argv[i], bitmap, &canvas)) | 81 if (!ReadAndRunTestCase(argv[i], bitmap, &canvas)) |
82 ret = 2; | 82 ret = 2; |
83 | 83 |
84 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish | 84 // Cluster-Fuzz likes "#EOF" as the last line of output to help distinguish |
85 // successful runs from crashes. | 85 // successful runs from crashes. |
86 printf("#EOF\n"); | 86 printf("#EOF\n"); |
87 | 87 |
88 return ret; | 88 return ret; |
89 } | 89 } |
90 | 90 |
OLD | NEW |