| Index: gpu/perftests/texture_upload_perftest.cc
|
| diff --git a/gpu/perftests/texture_upload_perftest.cc b/gpu/perftests/texture_upload_perftest.cc
|
| index 984314307882a7d91afad29989ef60a40cd2e815..abb2217826e8c95276e9977fa9514e147892f53c 100644
|
| --- a/gpu/perftests/texture_upload_perftest.cc
|
| +++ b/gpu/perftests/texture_upload_perftest.cc
|
| @@ -408,7 +408,7 @@ class TextureUploadPerfTest : public testing::Test {
|
| for (int i = 0; i < kUploadPerfWarmupRuns + kUploadPerfTestRuns; ++i) {
|
| GenerateTextureData(size, GLFormatBytePerPixel(format), i + 1, &pixels);
|
| auto run = UploadAndDraw(texture_id, size, pixels, format, subimage);
|
| - if (i < kUploadPerfWarmupRuns || !run.size()) {
|
| + if (i < kUploadPerfWarmupRuns || run.empty()) {
|
| continue;
|
| }
|
| successful_runs++;
|
|
|