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

Side by Side Diff: content/renderer/skia_benchmarking_extension_unittest.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/renderer/skia_benchmarking_extension.h" 5 #include "content/renderer/skia_benchmarking_extension.h"
6 6
7 #include <stddef.h>
8
7 #include "base/values.h" 9 #include "base/values.h"
8 #include "skia/ext/benchmarking_canvas.h" 10 #include "skia/ext/benchmarking_canvas.h"
9 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/skia/include/core/SkCanvas.h" 12 #include "third_party/skia/include/core/SkCanvas.h"
11 #include "third_party/skia/include/core/SkGraphics.h" 13 #include "third_party/skia/include/core/SkGraphics.h"
12 14
13 namespace { 15 namespace {
14 16
15 testing::AssertionResult HasArg(const base::ListValue* args, 17 testing::AssertionResult HasArg(const base::ListValue* args,
16 const char name[]) { 18 const char name[]) {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 EXPECT_TRUE(HasArg(op_args, "paint")); 98 EXPECT_TRUE(HasArg(op_args, "paint"));
97 99
98 ASSERT_TRUE(ops.GetDictionary(index++, &op)); 100 ASSERT_TRUE(ops.GetDictionary(index++, &op));
99 EXPECT_TRUE(op->GetString("cmd_string", &op_name)); 101 EXPECT_TRUE(op->GetString("cmd_string", &op_name));
100 EXPECT_EQ(op_name, "Restore"); 102 EXPECT_EQ(op_name, "Restore");
101 ASSERT_TRUE(op->GetList("info", &op_args)); 103 ASSERT_TRUE(op->GetList("info", &op_args));
102 EXPECT_EQ(op_args->GetSize(), static_cast<size_t>(0)); 104 EXPECT_EQ(op_args->GetSize(), static_cast<size_t>(0));
103 } 105 }
104 106
105 } // namespace content 107 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/skia_benchmarking_extension.cc ('k') | content/renderer/speech_recognition_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698