Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement synchronous about:blank loading. #13996

Merged
merged 6 commits into from Dec 1, 2016

Move the pipeline.notify_visibility() call to Pipeline::new().

  • Loading branch information
Ms2ger committed Nov 30, 2016
commit 2677540cd0fe93b741e82e1176b5073a8a92fba6
@@ -253,8 +253,6 @@ impl Pipeline {
state.window_size,
state.prev_visibility.unwrap_or(true));

pipeline.notify_visibility();

Ok((pipeline, child_process))
}

@@ -269,7 +267,7 @@ impl Pipeline {
size: Option<TypedSize2D<f32, PagePx>>,
visible: bool)
-> Pipeline {
Pipeline {
let pipeline = Pipeline {
id: id,
frame_id: frame_id,
parent_info: parent_info,
@@ -283,7 +281,11 @@ impl Pipeline {
running_animations: false,
visible: visible,
is_private: is_private,
}
};

pipeline.notify_visibility();

pipeline
}

pub fn exit(&self) {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.