| OLD | NEW |
| 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 #include "sky/engine/config.h" | |
| 6 #include "sky/engine/tonic/dart_state.h" | 5 #include "sky/engine/tonic/dart_state.h" |
| 7 | 6 |
| 8 #include "sky/engine/tonic/dart_class_library.h" | 7 #include "sky/engine/tonic/dart_class_library.h" |
| 9 #include "sky/engine/tonic/dart_converter.h" | 8 #include "sky/engine/tonic/dart_converter.h" |
| 10 #include "sky/engine/tonic/dart_exception_factory.h" | 9 #include "sky/engine/tonic/dart_exception_factory.h" |
| 11 #include "sky/engine/tonic/dart_string_cache.h" | 10 #include "sky/engine/tonic/dart_string_cache.h" |
| 12 #include "sky/engine/tonic/dart_timer_heap.h" | 11 #include "sky/engine/tonic/dart_timer_heap.h" |
| 13 #include "sky/engine/wtf/PassOwnPtr.h" | 12 #include "sky/engine/wtf/PassOwnPtr.h" |
| 14 | 13 |
| 15 namespace blink { | 14 namespace blink { |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 50 |
| 52 DartState* DartState::Current() { | 51 DartState* DartState::Current() { |
| 53 return static_cast<DartState*>(Dart_CurrentIsolateData()); | 52 return static_cast<DartState*>(Dart_CurrentIsolateData()); |
| 54 } | 53 } |
| 55 | 54 |
| 56 base::WeakPtr<DartState> DartState::GetWeakPtr() { | 55 base::WeakPtr<DartState> DartState::GetWeakPtr() { |
| 57 return weak_factory_.GetWeakPtr(); | 56 return weak_factory_.GetWeakPtr(); |
| 58 } | 57 } |
| 59 | 58 |
| 60 } // namespace blink | 59 } // namespace blink |
| OLD | NEW |