aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/servo.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-05-04 01:01:21 -0400
committerbors-servo <release+servo@mozilla.com>2014-05-04 01:01:21 -0400
commit660f7a016ee75a418afda9e92d45b79eff6ba540 (patch)
tree64dcd6f6eace86d63688100c37de00ea238262de /src/components/main/servo.rs
parent731e66ff132e41cdc49bc5324c0e15be19c46ec2 (diff)
parent243814022e06c35c9bcdd99ccd281cb6ed180db0 (diff)
downloadservo-660f7a016ee75a418afda9e92d45b79eff6ba540.tar.gz
servo-660f7a016ee75a418afda9e92d45b79eff6ba540.zip
auto merge of #2311 : Ms2ger/servo/empty-owned, r=jdm
Diffstat (limited to 'src/components/main/servo.rs')
-rwxr-xr-xsrc/components/main/servo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/servo.rs b/src/components/main/servo.rs
index 37b9092a7c0..1194d4b598e 100755
--- a/src/components/main/servo.rs
+++ b/src/components/main/servo.rs
@@ -192,7 +192,7 @@ fn run(opts: opts::Opts) {
let url = if filename.starts_with("data:") {
// As a hack for easier command-line testing,
// assume that data URLs are not URL-encoded.
- Url::new(~"data", None, ~"", None,
+ Url::new(~"data", None, "".to_owned(), None,
filename.slice_from(5).to_owned(), Vec::new(), None)
} else {
parse_url(*filename, None)