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

Unified Diff: mojo/dart/embedder/io/internet_address_patch.dart

Issue 1964193002: Dart: Refactors Proxies (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Address comments Created 4 years, 7 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 | « mojo/dart/embedder/io/file_patch.dart ('k') | mojo/dart/embedder/io/mojo_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/dart/embedder/io/internet_address_patch.dart
diff --git a/mojo/dart/embedder/io/internet_address_patch.dart b/mojo/dart/embedder/io/internet_address_patch.dart
index 3723bbc6c1d19e659fe2d4995569ae0aa7e1cb6b..97828939cf04e907b1a997eba47051b28b957fc9 100644
--- a/mojo/dart/embedder/io/internet_address_patch.dart
+++ b/mojo/dart/embedder/io/internet_address_patch.dart
@@ -199,7 +199,7 @@ class _MojoInternetAddress {
static Future _lookup(String host, InternetAddressType type) async {
HostResolverProxy hostResolver = _getHostResolver();
var family = _internetAddressTypeToAddressFamily(type);
- var response = await hostResolver.ptr.getHostAddresses(host, family);
+ var response = await hostResolver.getHostAddresses(host, family);
_NetworkService._throwOnError(response.result);
var numAddresses = response.addresses.length;
var r = new List(numAddresses);
« no previous file with comments | « mojo/dart/embedder/io/file_patch.dart ('k') | mojo/dart/embedder/io/mojo_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698