aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/gfx/render_task.rs
diff options
context:
space:
mode:
authorLars Bergstrom <lars@lars.com>2014-03-14 17:06:40 -0500
committerLars Bergstrom <lars@lars.com>2014-03-18 22:00:48 -0500
commita6100563a6e43471ae43fb155113bc2026992f78 (patch)
tree7e7fbd7976c3da12ff463d6ffbeb1a3a336ae7d3 /src/components/gfx/render_task.rs
parentfe22598c56092880b3e947b4fc9466d1a700e17e (diff)
downloadservo-a6100563a6e43471ae43fb155113bc2026992f78.tar.gz
servo-a6100563a6e43471ae43fb155113bc2026992f78.zip
Rust upgrade for new master rebase
Diffstat (limited to 'src/components/gfx/render_task.rs')
-rw-r--r--src/components/gfx/render_task.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/gfx/render_task.rs b/src/components/gfx/render_task.rs
index 66817554e1f..bb9ed1f665a 100644
--- a/src/components/gfx/render_task.rs
+++ b/src/components/gfx/render_task.rs
@@ -191,11 +191,9 @@ impl<C: RenderListener + Send,T:Send+Freeze> RenderTask<C,T> {
render_task.start();
// Destroy all the buffers.
- {
- match render_task.native_graphics_context.as_ref() {
- Some(ctx) => render_task.buffer_map.clear(ctx),
- None => (),
- }
+ match render_task.native_graphics_context.as_ref() {
+ Some(ctx) => render_task.buffer_map.clear(ctx),
+ None => (),
}
}