| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2010 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 , m_mimeType(mimeType) | 44 , m_mimeType(mimeType) |
| 45 , m_textEncoding(textEncoding) | 45 , m_textEncoding(textEncoding) |
| 46 { | 46 { |
| 47 ASSERT(m_data); | 47 ASSERT(m_data); |
| 48 } | 48 } |
| 49 | 49 |
| 50 ArchiveResource::~ArchiveResource() | 50 ArchiveResource::~ArchiveResource() |
| 51 { | 51 { |
| 52 } | 52 } |
| 53 | 53 |
| 54 PassRefPtrWillBeRawPtr<ArchiveResource> ArchiveResource::create( | 54 RawPtr<ArchiveResource> ArchiveResource::create( |
| 55 PassRefPtr<SharedBuffer> data, | 55 PassRefPtr<SharedBuffer> data, |
| 56 const KURL& url, | 56 const KURL& url, |
| 57 const String& contentID, | 57 const String& contentID, |
| 58 const AtomicString& mimeType, | 58 const AtomicString& mimeType, |
| 59 const AtomicString& textEncoding) | 59 const AtomicString& textEncoding) |
| 60 { | 60 { |
| 61 return adoptRefWillBeNoop(new ArchiveResource( | 61 return (new ArchiveResource( |
| 62 data, url, contentID, mimeType, textEncoding)); | 62 data, url, contentID, mimeType, textEncoding)); |
| 63 } | 63 } |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| OLD | NEW |