diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
commit | 3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e (patch) | |
tree | 4012cf37e6c594149bc8fe7e19b097c7518156e8 /components/script/dom/websocket.rs | |
parent | 4ebc065cba15184c8f63a28f128ec833fffccef7 (diff) | |
download | servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.tar.gz servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.zip |
Remove empty lines following braces.
Diffstat (limited to 'components/script/dom/websocket.rs')
-rw-r--r-- | components/script/dom/websocket.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/websocket.rs b/components/script/dom/websocket.rs index 8735394a7a9..c947a587687 100644 --- a/components/script/dom/websocket.rs +++ b/components/script/dom/websocket.rs @@ -382,7 +382,6 @@ impl WebSocketMethods for WebSocket { // https://html.spec.whatwg.org/multipage/#dom-websocket-send fn Send(&self, data: USVString) -> ErrorResult { - let data_byte_len = data.0.as_bytes().len() as u64; let send_data = try!(self.send_impl(data_byte_len)); @@ -397,7 +396,6 @@ impl WebSocketMethods for WebSocket { // https://html.spec.whatwg.org/multipage/#dom-websocket-send fn Send_(&self, blob: &Blob) -> ErrorResult { - /* As per https://html.spec.whatwg.org/multipage/#websocket the buffered amount needs to be clamped to u32, even though Blob.Size() is u64 If the buffer limit is reached in the first place, there are likely other major problems |