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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapTest.cpp

Issue 2688083002: Move VisitorMarkingMode into Visitor. (Closed)
Patch Set: Created 3 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 | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
index f8b1a87f53bdb45815cb140f9f4d2e6f32c113d1..2ba029352953a684f8184d3ebb0d27621721f6b2 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -3785,7 +3785,7 @@ TEST(HeapTest, CheckAndMarkPointer) {
{
TestGCScope scope(BlinkGC::HeapPointersOnStack);
ThreadState::GCForbiddenScope gcScope(ThreadState::current());
- Visitor visitor(ThreadState::current(), VisitorMarkingMode::GlobalMarking);
+ Visitor visitor(ThreadState::current(), Visitor::GlobalMarking);
EXPECT_TRUE(scope.allThreadsParked()); // Fail the test if we could not
// park all threads.
heap.flushHeapDoesNotContainCache();
@@ -3811,7 +3811,7 @@ TEST(HeapTest, CheckAndMarkPointer) {
{
TestGCScope scope(BlinkGC::HeapPointersOnStack);
ThreadState::GCForbiddenScope gcScope(ThreadState::current());
- Visitor visitor(ThreadState::current(), VisitorMarkingMode::GlobalMarking);
+ Visitor visitor(ThreadState::current(), Visitor::GlobalMarking);
EXPECT_TRUE(scope.allThreadsParked());
heap.flushHeapDoesNotContainCache();
for (size_t i = 0; i < objectAddresses.size(); i++) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698