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

Side by Side Diff: third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.h

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DOMSharedArrayBuffer_h 5 #ifndef DOMSharedArrayBuffer_h
6 #define DOMSharedArrayBuffer_h 6 #define DOMSharedArrayBuffer_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/DOMArrayBufferBase.h" 9 #include "core/dom/DOMArrayBufferBase.h"
10 #include "wtf/typed_arrays/ArrayBuffer.h" 10 #include "platform/wtf/typed_arrays/ArrayBuffer.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class CORE_EXPORT DOMSharedArrayBuffer final : public DOMArrayBufferBase { 14 class CORE_EXPORT DOMSharedArrayBuffer final : public DOMArrayBufferBase {
15 DEFINE_WRAPPERTYPEINFO(); 15 DEFINE_WRAPPERTYPEINFO();
16 16
17 public: 17 public:
18 static DOMSharedArrayBuffer* Create(PassRefPtr<WTF::ArrayBuffer> buffer) { 18 static DOMSharedArrayBuffer* Create(PassRefPtr<WTF::ArrayBuffer> buffer) {
19 DCHECK(buffer->IsShared()); 19 DCHECK(buffer->IsShared());
20 return new DOMSharedArrayBuffer(std::move(buffer)); 20 return new DOMSharedArrayBuffer(std::move(buffer));
(...skipping 16 matching lines...) Expand all
37 v8::Local<v8::Object> creation_context) override; 37 v8::Local<v8::Object> creation_context) override;
38 38
39 private: 39 private:
40 explicit DOMSharedArrayBuffer(PassRefPtr<WTF::ArrayBuffer> buffer) 40 explicit DOMSharedArrayBuffer(PassRefPtr<WTF::ArrayBuffer> buffer)
41 : DOMArrayBufferBase(std::move(buffer)) {} 41 : DOMArrayBufferBase(std::move(buffer)) {}
42 }; 42 };
43 43
44 } // namespace blink 44 } // namespace blink
45 45
46 #endif // DOMSharedArrayBuffer_h 46 #endif // DOMSharedArrayBuffer_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMNodeIds.h ('k') | third_party/WebKit/Source/core/dom/DOMStringList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698