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

Unified Diff: runtime/bin/directory.h

Issue 17261011: Replace uses of Dart_GetClass with Dart_GetType and Dart_InstanceGetClass with Dart_InstanceGetType… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/dartutils.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.h
===================================================================
--- runtime/bin/directory.h (revision 24207)
+++ runtime/bin/directory.h (working copy)
@@ -221,12 +221,12 @@
: DirectoryListing(dir_name, recursive, follow_links),
results_(results) {
add_string_ = DartUtils::NewString("add");
- directory_class_ =
- DartUtils::GetDartClass(DartUtils::kIOLibURL, "Directory");
- file_class_ =
- DartUtils::GetDartClass(DartUtils::kIOLibURL, "File");
- link_class_ =
- DartUtils::GetDartClass(DartUtils::kIOLibURL, "Link");
+ directory_type_ =
+ DartUtils::GetDartType(DartUtils::kIOLibURL, "Directory");
+ file_type_ =
+ DartUtils::GetDartType(DartUtils::kIOLibURL, "File");
+ link_type_ =
+ DartUtils::GetDartType(DartUtils::kIOLibURL, "Link");
}
virtual ~SyncDirectoryListing() {}
virtual bool HandleDirectory(char* dir_name);
@@ -237,9 +237,9 @@
private:
Dart_Handle results_;
Dart_Handle add_string_;
- Dart_Handle directory_class_;
- Dart_Handle file_class_;
- Dart_Handle link_class_;
+ Dart_Handle directory_type_;
+ Dart_Handle file_type_;
+ Dart_Handle link_type_;
DISALLOW_IMPLICIT_CONSTRUCTORS(SyncDirectoryListing);
};
« no previous file with comments | « runtime/bin/dartutils.cc ('k') | runtime/bin/directory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698