Index: test/unittests/heap/marking-unittest.cc |
diff --git a/test/unittests/heap/marking-unittest.cc b/test/unittests/heap/marking-unittest.cc |
index 4f80d384dd789f4dfd7d87010721cad3a66540b0..28e58ca48772c5724511e694e97f7da5efbe1409 100644 |
--- a/test/unittests/heap/marking-unittest.cc |
+++ b/test/unittests/heap/marking-unittest.cc |
@@ -25,7 +25,7 @@ TEST(Marking, TransitionWhiteBlackWhite) { |
Marking::WhiteToBlack(mark_bit); |
CHECK(Marking::IsBlack(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::BlackToWhite(mark_bit); |
+ Marking::MarkWhite(mark_bit); |
CHECK(Marking::IsWhite(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
} |
@@ -55,7 +55,7 @@ TEST(Marking, TransitionWhiteGreyBlackGrey) { |
CHECK(Marking::IsGrey(mark_bit)); |
CHECK(Marking::IsBlackOrGrey(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
- Marking::GreyToWhite(mark_bit); |
+ Marking::MarkWhite(mark_bit); |
CHECK(Marking::IsWhite(mark_bit)); |
CHECK(!Marking::IsImpossible(mark_bit)); |
} |