Index: runtime/bin/secure_socket.cc |
diff --git a/runtime/bin/secure_socket.cc b/runtime/bin/secure_socket.cc |
index dfa46fd0f36074968b21b8c0a436bbac759199af..603a4c0afed60030df59af20d9e08c1bc24fa49c 100644 |
--- a/runtime/bin/secure_socket.cc |
+++ b/runtime/bin/secure_socket.cc |
@@ -244,7 +244,7 @@ static Dart_Handle X509FromCertificate(CERTCertificate* certificate) { |
Dart_Handle end_epoch_ms_int = Dart_NewInteger(end_epoch_ms); |
Dart_Handle date_class = |
- DartUtils::GetDartClass(DartUtils::kCoreLibURL, "Date"); |
+ DartUtils::GetDartClass(DartUtils::kCoreLibURL, "DateTime"); |
Dart_Handle from_milliseconds = |
DartUtils::NewString("fromMillisecondsSinceEpoch"); |