Merge PrivilegedPipelineContent::{start_all, start_paint_thread}.

They now do the same thing.
This commit is contained in:
Ms2ger 2016-05-25 10:46:11 +02:00
parent 4113eb6f72
commit e7f75ca298
2 changed files with 4 additions and 10 deletions

View file

@ -471,11 +471,7 @@ pub struct PrivilegedPipelineContent {
}
impl PrivilegedPipelineContent {
pub fn start_all(self) {
self.start_paint_thread();
}
pub fn start_paint_thread(self) {
pub fn start(self) {
PaintThread::create(self.id,
self.load_data.url,
self.chrome_to_paint_chan,