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

Unified Diff: content/renderer/skia_benchmarking_extension_unittest.cc

Issue 917063008: Cleanup lingering scaffolding for Skia change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/skia_benchmarking_extension_unittest.cc
diff --git a/content/renderer/skia_benchmarking_extension_unittest.cc b/content/renderer/skia_benchmarking_extension_unittest.cc
index 19f6429a7fdff76a2601c3d420faaad4c7f6590d..8b7b2a7bd8b5f604e9980f2a4734635f1509c6da 100644
--- a/content/renderer/skia_benchmarking_extension_unittest.cc
+++ b/content/renderer/skia_benchmarking_extension_unittest.cc
@@ -72,8 +72,7 @@ TEST(SkiaBenchmarkingExtensionTest, SkDebugCanvas) {
ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL);
cmd = canvas.getDrawCommandAt(idx)->getType();
EXPECT_EQ(cmd, SkDrawCommand::kClipRect_OpType);
- EXPECT_STREQ(SkDrawCommand::GetCommandString(cmd),
- SkDrawCommand::kClipRectString);
+ EXPECT_STREQ(SkDrawCommand::GetCommandString(cmd), "ClipRect");
EXPECT_TRUE(HasInfoField(canvas, idx, "SkRect"));
EXPECT_TRUE(HasInfoField(canvas, idx, "Op"));
EXPECT_TRUE(HasInfoField(canvas, idx, "doAA"));
@@ -86,8 +85,7 @@ TEST(SkiaBenchmarkingExtensionTest, SkDebugCanvas) {
ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL);
cmd = canvas.getDrawCommandAt(idx)->getType();
EXPECT_EQ(cmd, SkDrawCommand::kDrawRect_OpType);
- EXPECT_STREQ(SkDrawCommand::GetCommandString(cmd),
- SkDrawCommand::kDrawRectString);
+ EXPECT_STREQ(SkDrawCommand::GetCommandString(cmd), "DrawRect");
EXPECT_TRUE(HasInfoField(canvas, idx, "SkRect"));
ASSERT_TRUE(canvas.getDrawCommandAt(++idx) != NULL);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698