OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project 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 // limitations under the License. | 4 // limitations under the License. |
5 | 5 |
6 #include "src/i18n.h" | 6 #include "src/i18n.h" |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "src/api.h" | 10 #include "src/api.h" |
11 #include "src/factory.h" | 11 #include "src/factory.h" |
12 #include "src/isolate.h" | 12 #include "src/isolate.h" |
| 13 #include "src/objects-inl.h" |
13 #include "unicode/brkiter.h" | 14 #include "unicode/brkiter.h" |
14 #include "unicode/calendar.h" | 15 #include "unicode/calendar.h" |
15 #include "unicode/coll.h" | 16 #include "unicode/coll.h" |
16 #include "unicode/curramt.h" | 17 #include "unicode/curramt.h" |
17 #include "unicode/dcfmtsym.h" | 18 #include "unicode/dcfmtsym.h" |
18 #include "unicode/decimfmt.h" | 19 #include "unicode/decimfmt.h" |
19 #include "unicode/dtfmtsym.h" | 20 #include "unicode/dtfmtsym.h" |
20 #include "unicode/dtptngen.h" | 21 #include "unicode/dtptngen.h" |
21 #include "unicode/gregocal.h" | 22 #include "unicode/gregocal.h" |
22 #include "unicode/locid.h" | 23 #include "unicode/locid.h" |
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
958 | 959 |
959 void BreakIterator::DeleteBreakIterator( | 960 void BreakIterator::DeleteBreakIterator( |
960 const v8::WeakCallbackInfo<void>& data) { | 961 const v8::WeakCallbackInfo<void>& data) { |
961 delete reinterpret_cast<icu::BreakIterator*>(data.GetInternalField(0)); | 962 delete reinterpret_cast<icu::BreakIterator*>(data.GetInternalField(0)); |
962 delete reinterpret_cast<icu::UnicodeString*>(data.GetInternalField(1)); | 963 delete reinterpret_cast<icu::UnicodeString*>(data.GetInternalField(1)); |
963 GlobalHandles::Destroy(reinterpret_cast<Object**>(data.GetParameter())); | 964 GlobalHandles::Destroy(reinterpret_cast<Object**>(data.GetParameter())); |
964 } | 965 } |
965 | 966 |
966 } // namespace internal | 967 } // namespace internal |
967 } // namespace v8 | 968 } // namespace v8 |
OLD | NEW |