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

Unified Diff: third_party/WebKit/Source/platform/heap/Visitor.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
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 2d8f176f849b9cca8f5295b01f95e08abbe6e163..367b4f478ad5aed226a812f2dc0ca77da879df55 100644
--- a/third_party/WebKit/Source/platform/heap/Visitor.cpp
+++ b/third_party/WebKit/Source/platform/heap/Visitor.cpp
@@ -12,12 +12,11 @@
namespace blink {
-std::unique_ptr<Visitor> Visitor::create(ThreadState* state,
- VisitorMarkingMode mode) {
+std::unique_ptr<Visitor> Visitor::create(ThreadState* state, MarkingMode mode) {
return WTF::makeUnique<Visitor>(state, mode);
}
-Visitor::Visitor(ThreadState* state, VisitorMarkingMode markingMode)
+Visitor::Visitor(ThreadState* state, MarkingMode markingMode)
: m_state(state), m_markingMode(markingMode) {
// See ThreadState::runScheduledGC() why we need to already be in a
// GCForbiddenScope before any safe point is entered.
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Visitor.h ('k') | third_party/WebKit/Source/platform/heap/VisitorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698