| Index: lib/uri/uri.dart
|
| diff --git a/lib/uri/uri.dart b/lib/uri/uri.dart
|
| index 6cb153967845ade1b5203562c1b749d946ce5f9f..074043e448c05150b9493c3312e75791fcdcb6af 100644
|
| --- a/lib/uri/uri.dart
|
| +++ b/lib/uri/uri.dart
|
| @@ -177,7 +177,7 @@ class Uri {
|
| * For all other schemes throws IllegalArgumentException.
|
| * [origin]: http://www.w3.org/TR/2011/WD-html5-20110405/origin-0.html#origin
|
| */
|
| - String get origin() {
|
| + String get origin {
|
| if (scheme == "") {
|
| // TODO(aprelev@gmail.com): Use StateException instead
|
| throw new IllegalArgumentException("Cannot use origin without a scheme");
|
|
|