Index: Source/core/html/forms/FormController.cpp |
diff --git a/Source/core/html/forms/FormController.cpp b/Source/core/html/forms/FormController.cpp |
index 502c65a8b2fe241f34fbcaf5b3c53267d04bf035..afcc35577619b7d8fdeabdd16431fbd18d06030f 100644 |
--- a/Source/core/html/forms/FormController.cpp |
+++ b/Source/core/html/forms/FormController.cpp |
@@ -294,7 +294,12 @@ class FormKeyGenerator FINAL : public NoBaseWillBeGarbageCollectedFinalized<Form |
public: |
static PassOwnPtrWillBeRawPtr<FormKeyGenerator> create() { return adoptPtrWillBeNoop(new FormKeyGenerator); } |
- void trace(Visitor* visitor) { visitor->trace(m_formToKeyMap); } |
+ void trace(Visitor* visitor) |
+ { |
+#if ENABLE(OILPAN) |
+ visitor->trace(m_formToKeyMap); |
+#endif |
+ } |
const AtomicString& formKey(const HTMLFormControlElementWithState&); |
void willDeleteForm(HTMLFormElement*); |