Chromium Code Reviews| 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(); |
|
haraken
2014/04/25 05:21:42
You can put this in #if !ENABLE(OILPAN) as well (Y
haraken
2014/04/25 05:29:59
Discussed with tasak@, and it looks like a right f
Mads Ager (chromium)
2014/04/25 10:58:25
Yeah, good point. I restored the clearing in Style
|
| +#if !ENABLE(OILPAN) |
| if (inDocument()) |
| document().styleEngine()->removeStyleSheetCandidateNode(this); |
| +#endif |
| } |
| String ProcessingInstruction::nodeName() const |