| 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_builtin.h" | 5 #include "sky/engine/tonic/dart_builtin.h" |
| 7 | 6 |
| 8 #include <stdlib.h> | 7 #include <stdlib.h> |
| 9 #include <string.h> | 8 #include <string.h> |
| 10 | 9 |
| 11 #include "base/logging.h" | 10 #include "base/logging.h" |
| 12 #include "sky/engine/tonic/dart_converter.h" | 11 #include "sky/engine/tonic/dart_converter.h" |
| 13 | 12 |
| 14 namespace blink { | 13 namespace blink { |
| 15 | 14 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 return nullptr; | 47 return nullptr; |
| 49 } | 48 } |
| 50 | 49 |
| 51 Dart_Handle DartBuiltin::LookupLibrary(const char* name) { | 50 Dart_Handle DartBuiltin::LookupLibrary(const char* name) { |
| 52 Dart_Handle library = Dart_LookupLibrary(ToDart(name)); | 51 Dart_Handle library = Dart_LookupLibrary(ToDart(name)); |
| 53 DCHECK(!Dart_IsError(library)); | 52 DCHECK(!Dart_IsError(library)); |
| 54 return library; | 53 return library; |
| 55 } | 54 } |
| 56 | 55 |
| 57 } // namespace blink | 56 } // namespace blink |
| OLD | NEW |