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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 1644793002: Replace intptr_t with TokenDescriptor (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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
Index: runtime/vm/dart_api_impl.cc
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 6a1a904940faf3ff264420717a9d81f221e722ca..9b07fe0d251a644628628f525a24f171d10facc1 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5124,7 +5124,7 @@ DART_EXPORT Dart_Handle Dart_GetType(Dart_Handle library,
// Construct the type object, canonicalize it and return.
Type& instantiated_type = Type::Handle(
- Type::New(cls, type_args_obj, Token::kNoSourcePos));
+ Type::New(cls, type_args_obj, TokenDescriptor::kNoSource));
instantiated_type ^= ClassFinalizer::FinalizeType(
cls, instantiated_type, ClassFinalizer::kCanonicalize);
return Api::NewHandle(T, instantiated_type.raw());

Powered by Google App Engine
This is Rietveld 408576698