Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2531)

Unified Diff: runtime/bin/directory_unsupported.cc

Issue 1893033002: Fixes memory leak of async directory lister (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add unsupported calls Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/directory_patch.dart ('k') | runtime/bin/io_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory_unsupported.cc
diff --git a/runtime/bin/directory_unsupported.cc b/runtime/bin/directory_unsupported.cc
index 7e82bdd81fd70f7c64b57697f35e108d22e7a291..1b1abd27c29cc958cdf23307419358a60bc56a86 100644
--- a/runtime/bin/directory_unsupported.cc
+++ b/runtime/bin/directory_unsupported.cc
@@ -64,6 +64,20 @@ void FUNCTION_NAME(Directory_List)(Dart_NativeArguments args) {
"Directory is not supported on this platform"));
}
+
+void FUNCTION_NAME(Directory_GetAsyncDirectoryListerPointer)(
+ Dart_NativeArguments args) {
+ Dart_ThrowException(DartUtils::NewInternalError(
+ "Directory is not supported on this platform"));
+}
+
+
+void FUNCTION_NAME(Directory_SetAsyncDirectoryListerPointer)(
+ Dart_NativeArguments args) {
+ Dart_ThrowException(DartUtils::NewInternalError(
+ "Directory is not supported on this platform"));
+}
+
} // namespace bin
} // namespace dart
« no previous file with comments | « runtime/bin/directory_patch.dart ('k') | runtime/bin/io_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698