aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/layout/layout_task.rs
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@mozilla.com>2014-08-05 11:19:24 -0700
committerCameron Zwarich <zwarich@mozilla.com>2014-08-05 11:19:24 -0700
commitd5cb0b2cc189da9d23979862a6a1806596131de7 (patch)
tree1c9529eca25f64c3c4cc3d84e65c90a17854ef68 /src/components/layout/layout_task.rs
parent1d09d324d26273dc1499aa7184e7b20835721b8d (diff)
downloadservo-d5cb0b2cc189da9d23979862a6a1806596131de7.tar.gz
servo-d5cb0b2cc189da9d23979862a6a1806596131de7.zip
Rename RenderMsg to RenderInitMsg
RenderMsg doesn't actually render anything, so the name is confusing.
Diffstat (limited to 'src/components/layout/layout_task.rs')
-rw-r--r--src/components/layout/layout_task.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/layout/layout_task.rs b/src/components/layout/layout_task.rs
index fd9013835e2..3d9cca46737 100644
--- a/src/components/layout/layout_task.rs
+++ b/src/components/layout/layout_task.rs
@@ -28,7 +28,7 @@ use geom::size::Size2D;
use gfx::display_list::{ClipDisplayItemClass, ContentStackingLevel, DisplayItem};
use gfx::display_list::{DisplayItemIterator, DisplayList, OpaqueNode};
use gfx::font_context::FontContext;
-use gfx::render_task::{RenderMsg, RenderChan, RenderLayer};
+use gfx::render_task::{RenderInitMsg, RenderChan, RenderLayer};
use gfx::{render_task, color};
use layout_traits::LayoutTaskFactory;
use script::dom::bindings::js::JS;
@@ -736,7 +736,7 @@ impl LayoutTask {
debug!("Layout done!");
- self.render_chan.send(RenderMsg(layers));
+ self.render_chan.send(RenderInitMsg(layers));
});
}