Chromium Code Reviews| Index: samples/swarm/DataSource.dart |
| diff --git a/samples/swarm/DataSource.dart b/samples/swarm/DataSource.dart |
| index 540f27119eb83fb669226a3989b1db0b38bfbe56..170b5c65af3ab9269b18600897901093bc224715 100644 |
| --- a/samples/swarm/DataSource.dart |
| +++ b/samples/swarm/DataSource.dart |
| @@ -187,7 +187,7 @@ class Article { |
| } |
| String get dataUri { |
| - return Uri.encodeComponent(id).replaceAll('%2F', '/'). |
| + return SwarmUri.encodeComponent(id).replaceAll('%2F', '/'). |
| replaceAll('%253A', '%3A'); |
| } |