Index: runtime/bin/secure_socket.cc |
diff --git a/runtime/bin/secure_socket.cc b/runtime/bin/secure_socket.cc |
index 49248d379c88c2773cb81fd16965477d642af2de..f10246bd7426ebae49822f5b7e938df052891f77 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"); |