Index: Source/core/frame/Screen.cpp |
diff --git a/Source/core/frame/Screen.cpp b/Source/core/frame/Screen.cpp |
index a6b7adc4c72736b807d9f82b8c17b363ed675421..1a06f48cfb3dce0ee471a80b4907720a60d1c20e 100644 |
--- a/Source/core/frame/Screen.cpp |
+++ b/Source/core/frame/Screen.cpp |
@@ -121,7 +121,9 @@ unsigned Screen::availWidth() const |
void Screen::trace(Visitor* visitor) |
{ |
- WillBeHeapSupplementable<Screen>::trace(visitor); |
+#if ENABLE(OILPAN) |
+ HeapSupplementable<Screen>::trace(visitor); |
+#endif |
DOMWindowProperty::trace(visitor); |
} |