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); |