Index: Source/core/dom/ProcessingInstruction.cpp |
diff --git a/Source/core/dom/ProcessingInstruction.cpp b/Source/core/dom/ProcessingInstruction.cpp |
index f5209b6ecc73df43a9e440b05a813df09dd5e59b..16e2b6423ef25794928b1f32ddfbb60171b9cb0e 100644 |
--- a/Source/core/dom/ProcessingInstruction.cpp |
+++ b/Source/core/dom/ProcessingInstruction.cpp |
@@ -58,8 +58,10 @@ ProcessingInstruction::~ProcessingInstruction() |
if (m_sheet) |
m_sheet->clearOwnerNode(); |
+#if !ENABLE(OILPAN) |
if (inDocument()) |
document().styleEngine()->removeStyleSheetCandidateNode(this); |
+#endif |
} |
String ProcessingInstruction::nodeName() const |