Index: runtime/vm/object_reload.cc |
diff --git a/runtime/vm/object_reload.cc b/runtime/vm/object_reload.cc |
index c646dd63bb50452d30ebcb1d3aba7b76fcf57627..046333438cb6f655df89e1730501f5610f1865ed 100644 |
--- a/runtime/vm/object_reload.cc |
+++ b/runtime/vm/object_reload.cc |
@@ -387,6 +387,10 @@ class EnsureFinalizedError : public ClassReasonForCancelling { |
const Error& error_; |
RawError* ToError() { return error_.raw(); } |
+ |
+ RawString* ToString() { |
+ return String::New(error_.ToErrorCString()); |
+ } |
}; |