mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove empty lines following braces.
This commit is contained in:
parent
4ebc065cba
commit
3cb8af20c2
69 changed files with 3 additions and 162 deletions
|
@ -422,7 +422,6 @@ impl DisplayList {
|
|||
traversal: &mut DisplayListTraversal<'a>,
|
||||
paint_context: &mut PaintContext,
|
||||
transform: &Matrix4D<f32>) {
|
||||
|
||||
if stacking_context.context_type != StackingContextType::Real {
|
||||
self.draw_stacking_context_contents(stacking_context,
|
||||
traversal,
|
||||
|
|
|
@ -405,7 +405,6 @@ impl FontCacheThread {
|
|||
|
||||
pub fn find_font_template(&self, family: FontFamily, desc: FontTemplateDescriptor)
|
||||
-> Option<FontTemplateInfo> {
|
||||
|
||||
let (response_chan, response_port) = ipc::channel().unwrap();
|
||||
self.chan.send(Command::GetFontTemplate(family, desc, response_chan)).unwrap();
|
||||
|
||||
|
@ -420,7 +419,6 @@ impl FontCacheThread {
|
|||
|
||||
pub fn last_resort_font_template(&self, desc: FontTemplateDescriptor)
|
||||
-> FontTemplateInfo {
|
||||
|
||||
let (response_chan, response_port) = ipc::channel().unwrap();
|
||||
self.chan.send(Command::GetLastResortFontTemplate(desc, response_chan)).unwrap();
|
||||
|
||||
|
|
|
@ -663,7 +663,6 @@ impl<'a> PaintContext<'a> {
|
|||
fn corner_bounds(bounds: &Rect<f32>,
|
||||
border: &SideOffsets2D<f32>,
|
||||
radii: &BorderRadii<AzFloat>) -> (CornerOrigin, SideOffsets2D<Size2D<f32>>) {
|
||||
|
||||
fn distance_to_elbow(radius: &Size2D<AzFloat>,
|
||||
corner_width: f32,
|
||||
corner_height: f32) -> Size2D<f32> {
|
||||
|
@ -1658,7 +1657,6 @@ pub trait ToAzureRect {
|
|||
}
|
||||
|
||||
impl ToAzureRect for Rect<Au> {
|
||||
|
||||
/// Round rects to pixel coordinates, maintaining the invariant of non-overlap,
|
||||
/// assuming that before rounding rects don't overlap.
|
||||
fn to_nearest_azure_rect(&self, pixels_per_px: ScaleFactor<PagePx, ScreenPx, f32>) -> Rect<AzFloat> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue