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

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

Issue 2625363002: Simplify visitor marking mode tracking. (Closed)
Patch Set: HeapTest compilation fix Created 3 years, 11 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 | « third_party/WebKit/Source/platform/heap/Visitor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/Visitor.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Visitor.cpp b/third_party/WebKit/Source/platform/heap/Visitor.cpp
index c5779694bebe4f1494017059b5701ffba3d77785..ed32a71ef22eb05e88e77013be2f458dc8192f76 100644
--- a/third_party/WebKit/Source/platform/heap/Visitor.cpp
+++ b/third_party/WebKit/Source/platform/heap/Visitor.cpp
@@ -12,12 +12,13 @@
namespace blink {
-std::unique_ptr<Visitor> Visitor::create(ThreadState* state, MarkingMode mode) {
+std::unique_ptr<Visitor> Visitor::create(ThreadState* state,
+ VisitorMarkingMode mode) {
return WTF::makeUnique<MarkingVisitor>(state, mode);
}
-Visitor::Visitor(ThreadState* state, MarkingMode markingMode)
- : VisitorHelper(state), m_markingMode(markingMode) {
+Visitor::Visitor(ThreadState* state, VisitorMarkingMode markingMode)
+ : VisitorHelper(state, markingMode) {
// See ThreadState::runScheduledGC() why we need to already be in a
// GCForbiddenScope before any safe point is entered.
DCHECK(state->isGCForbidden());
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Visitor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698