| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 { | 93 { |
| 94 RefPtrWillBeRawPtr<MHTMLArchive> archive = m_subframes.take(frameName); | 94 RefPtrWillBeRawPtr<MHTMLArchive> archive = m_subframes.take(frameName); |
| 95 if (archive) | 95 if (archive) |
| 96 return archive.release(); | 96 return archive.release(); |
| 97 | 97 |
| 98 return m_subframes.take(url.string()); | 98 return m_subframes.take(url.string()); |
| 99 } | 99 } |
| 100 | 100 |
| 101 void ArchiveResourceCollection::trace(Visitor* visitor) | 101 void ArchiveResourceCollection::trace(Visitor* visitor) |
| 102 { | 102 { |
| 103 #if ENABLE(OILPAN) |
| 103 visitor->trace(m_subresources); | 104 visitor->trace(m_subresources); |
| 104 visitor->trace(m_subframes); | 105 visitor->trace(m_subframes); |
| 106 #endif |
| 105 } | 107 } |
| 106 | 108 |
| 107 } | 109 } |
| OLD | NEW |