Index: Source/core/workers/WorkerNavigator.cpp |
diff --git a/Source/core/workers/WorkerNavigator.cpp b/Source/core/workers/WorkerNavigator.cpp |
index 7d5f55dc445785a6e7abc25297db17ccc9ec9a71..148a9cd50171fab9be34a33fc0255a6185698ab6 100644 |
--- a/Source/core/workers/WorkerNavigator.cpp |
+++ b/Source/core/workers/WorkerNavigator.cpp |
@@ -46,7 +46,9 @@ String WorkerNavigator::userAgent() const |
void WorkerNavigator::trace(Visitor* visitor) |
{ |
- WillBeHeapSupplementable<WorkerNavigator>::trace(visitor); |
+#if ENABLE(OILPAN) |
+ HeapSupplementable<WorkerNavigator>::trace(visitor); |
+#endif |
} |
} // namespace blink |