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

Unified Diff: Source/core/dom/ScriptExecutionContext.h

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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 | « Source/core/dom/Node.cpp ('k') | Source/core/dom/ShadowRoot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptExecutionContext.h
diff --git a/Source/core/dom/ScriptExecutionContext.h b/Source/core/dom/ScriptExecutionContext.h
index ef8683de0e30281bfd8c9f52cdd393072ec72577..e25bc9df20aced237f2ce123e790185905240c90 100644
--- a/Source/core/dom/ScriptExecutionContext.h
+++ b/Source/core/dom/ScriptExecutionContext.h
@@ -142,7 +142,7 @@ public:
void setDatabaseContext(DatabaseContext*);
- virtual void visitWith(Visitor*) const = 0;
+ virtual void adjustAndMark(Visitor*) const = 0;
void trace(Visitor*) { }
virtual bool isAlive(Visitor*) = 0;
@@ -203,7 +203,7 @@ private:
template<> class TraceTrait<ScriptExecutionContext> {
public:
- static void visit(Visitor* v, const ScriptExecutionContext* self) { self->visitWith(v); }
+ static void mark(Visitor* v, const ScriptExecutionContext* self) { self->adjustAndMark(v); }
static intptr_t getTypeMarker() { return 0; }
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/dom/ShadowRoot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698