OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "sky/engine/config.h" | |
6 #include "sky/engine/wtf/ArrayPiece.h" | 5 #include "sky/engine/wtf/ArrayPiece.h" |
7 | 6 |
8 #include "sky/engine/wtf/ArrayBuffer.h" | 7 #include "sky/engine/wtf/ArrayBuffer.h" |
9 #include "sky/engine/wtf/ArrayBufferView.h" | 8 #include "sky/engine/wtf/ArrayBufferView.h" |
10 #include "sky/engine/wtf/Assertions.h" | 9 #include "sky/engine/wtf/Assertions.h" |
11 | 10 |
12 namespace WTF { | 11 namespace WTF { |
13 | 12 |
14 ArrayPiece::ArrayPiece() | 13 ArrayPiece::ArrayPiece() |
15 { | 14 { |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 } | 68 } |
70 | 69 |
71 void ArrayPiece::initNull() | 70 void ArrayPiece::initNull() |
72 { | 71 { |
73 m_byteLength = 0; | 72 m_byteLength = 0; |
74 m_data = 0; | 73 m_data = 0; |
75 m_isNull = true; | 74 m_isNull = true; |
76 } | 75 } |
77 | 76 |
78 } // namespace WTF | 77 } // namespace WTF |
OLD | NEW |