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

Unified Diff: Source/modules/webdatabase/SQLCallbackWrapper.h

Issue 318023002: Oilpan: Prepare to make ExecutionContext GarbageCollectedMixin. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/modules/webdatabase/SQLCallbackWrapper.h
diff --git a/Source/modules/webdatabase/SQLCallbackWrapper.h b/Source/modules/webdatabase/SQLCallbackWrapper.h
index d3701d4e345aacd8ac701551c348d1a7bdece264..53d43b6a2f73cf359c7b1c63e0f223d24dd1e12e 100644
--- a/Source/modules/webdatabase/SQLCallbackWrapper.h
+++ b/Source/modules/webdatabase/SQLCallbackWrapper.h
@@ -56,8 +56,7 @@ public:
clear();
}
- // FIXME: Oilpan: Trace m_executionContext.
- void trace(Visitor* visitor) { }
+ void trace(Visitor* visitor) { visitor->trace(m_executionContext); }
void clear()
{
@@ -130,7 +129,7 @@ private:
Mutex m_mutex;
OwnPtr<T> m_callback;
- RefPtr<ExecutionContext> m_executionContext;
+ RefPtrWillBeMember<ExecutionContext> m_executionContext;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698