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

Side by Side Diff: Source/platform/exported/WebBlobData.cpp

Issue 458313005: Cleanup namespace usage from animation to exported in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage from animation to exported in platform/ Created 6 years, 4 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 #include "config.h" 32 #include "config.h"
33 #include "public/platform/WebBlobData.h" 33 #include "public/platform/WebBlobData.h"
34 34
35 #include "platform/blob/BlobData.h" 35 #include "platform/blob/BlobData.h"
36 #include "wtf/PassOwnPtr.h" 36 #include "wtf/PassOwnPtr.h"
37 37
38 using namespace blink;
39
40 namespace blink { 38 namespace blink {
41 39
42 WebBlobData::WebBlobData() 40 WebBlobData::WebBlobData()
43 { 41 {
44 } 42 }
45 43
46 WebBlobData::~WebBlobData() 44 WebBlobData::~WebBlobData()
47 { 45 {
48 m_private.reset(0); 46 m_private.reset(0);
49 } 47 }
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 m_private.reset(data); 105 m_private.reset(data);
108 return *this; 106 return *this;
109 } 107 }
110 108
111 WebBlobData::operator PassOwnPtr<BlobData>() 109 WebBlobData::operator PassOwnPtr<BlobData>()
112 { 110 {
113 return m_private.release(); 111 return m_private.release();
114 } 112 }
115 113
116 } // namespace blink 114 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebAudioBus.cpp ('k') | Source/platform/exported/WebContentDecryptionModuleResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698