OLD | NEW |
---|---|
1 /* | 1 /* |
2 * This file is part of the XSL implementation. | 2 * This file is part of the XSL implementation. |
3 * | 3 * |
4 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
56 private: | 56 private: |
57 XSLImportRule(XSLStyleSheet* parentSheet, const String& href); | 57 XSLImportRule(XSLStyleSheet* parentSheet, const String& href); |
58 | 58 |
59 virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) OVERRIDE; | 59 virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const String& sheet) OVERRIDE; |
60 | 60 |
61 // FIXME: Oilpan: This raw pointer is safe and has to be kept raw at this | 61 // FIXME: Oilpan: This raw pointer is safe and has to be kept raw at this |
62 // point to avoid cycles. When XSLImportRule is moved to the oilpan heap | 62 // point to avoid cycles. When XSLImportRule is moved to the oilpan heap |
63 // it should be a Member and be traced. | 63 // it should be a Member and be traced. |
64 XSLStyleSheet* m_parentStyleSheet; | 64 XSLStyleSheet* m_parentStyleSheet; |
65 String m_strHref; | 65 String m_strHref; |
66 | |
67 // FIXME: Oilpan: This persistent causes a direct cycle, but should not leak | |
68 // because XSLStyleSheet::m_children should only contain child import rules. | |
69 GC_PLUGIN_IGNORE_CYCLE | |
haraken
2014/03/21 10:31:40
It's a bit inconsistent that we have a bug number
zerny-chromium
2014/03/21 10:46:19
This only ignores the field with respect to the cy
| |
66 RefPtrWillBePersistent<XSLStyleSheet> m_styleSheet; | 70 RefPtrWillBePersistent<XSLStyleSheet> m_styleSheet; |
67 ResourcePtr<XSLStyleSheetResource> m_resource; | 71 ResourcePtr<XSLStyleSheetResource> m_resource; |
68 bool m_loading; | 72 bool m_loading; |
69 }; | 73 }; |
70 | 74 |
71 } // namespace WebCore | 75 } // namespace WebCore |
72 | 76 |
73 #endif // XSLImportRule_h | 77 #endif // XSLImportRule_h |
OLD | NEW |