Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Side by Side Diff: third_party/WebKit/Source/platform/mhtml/ArchiveResource.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698