| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 void setParentStyleSheet(XSLStyleSheet* styleSheet) { m_parentStyleSheet = s
tyleSheet; } | 51 void setParentStyleSheet(XSLStyleSheet* styleSheet) { m_parentStyleSheet = s
tyleSheet; } |
| 52 | 52 |
| 53 bool isLoading(); | 53 bool isLoading(); |
| 54 void loadSheet(); | 54 void loadSheet(); |
| 55 | 55 |
| 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 |
| 62 // point to avoid cycles. When XSLImportRule is moved to the oilpan heap |
| 63 // it should be a Member and be traced. |
| 61 XSLStyleSheet* m_parentStyleSheet; | 64 XSLStyleSheet* m_parentStyleSheet; |
| 62 String m_strHref; | 65 String m_strHref; |
| 63 RefPtr<XSLStyleSheet> m_styleSheet; | 66 RefPtrWillBePersistent<XSLStyleSheet> m_styleSheet; |
| 64 ResourcePtr<XSLStyleSheetResource> m_resource; | 67 ResourcePtr<XSLStyleSheetResource> m_resource; |
| 65 bool m_loading; | 68 bool m_loading; |
| 66 }; | 69 }; |
| 67 | 70 |
| 68 } // namespace WebCore | 71 } // namespace WebCore |
| 69 | 72 |
| 70 #endif // XSLImportRule_h | 73 #endif // XSLImportRule_h |
| OLD | NEW |