diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-05-27 13:32:05 -0400 |
commit | 3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e (patch) | |
tree | 4012cf37e6c594149bc8fe7e19b097c7518156e8 /components/layout | |
parent | 4ebc065cba15184c8f63a28f128ec833fffccef7 (diff) | |
download | servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.tar.gz servo-3cb8af20c24ea0972220fa3fa7cbfcbd99c0848e.zip |
Remove empty lines following braces.
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/construct.rs | 1 | ||||
-rw-r--r-- | components/layout/context.rs | 1 | ||||
-rw-r--r-- | components/layout/flex.rs | 1 | ||||
-rw-r--r-- | components/layout/query.rs | 1 | ||||
-rw-r--r-- | components/layout/text.rs | 1 | ||||
-rw-r--r-- | components/layout/wrapper.rs | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/components/layout/construct.rs b/components/layout/construct.rs index d08e8ad374c..8d37b6aa6ba 100644 --- a/components/layout/construct.rs +++ b/components/layout/construct.rs @@ -867,7 +867,6 @@ impl<'a, ConcreteThreadSafeLayoutNode: ThreadSafeLayoutNode> splits, fragments: successors, })) => { - // Bubble up {ib} splits. self.accumulate_inline_block_splits(splits, node, diff --git a/components/layout/context.rs b/components/layout/context.rs index 9c752645513..81deafafa33 100644 --- a/components/layout/context.rs +++ b/components/layout/context.rs @@ -120,7 +120,6 @@ impl<'a> StyleContext<'a, ServoSelectorImpl> for LayoutContext<'a> { impl<'a> LayoutContext<'a> { pub fn new(shared_layout_context: &'a SharedLayoutContext) -> LayoutContext<'a> { - let local_context = create_or_get_local_context(shared_layout_context); LayoutContext { diff --git a/components/layout/flex.rs b/components/layout/flex.rs index 50948ac411d..6d2a12fec62 100644 --- a/components/layout/flex.rs +++ b/components/layout/flex.rs @@ -108,7 +108,6 @@ impl FlexFlow { pub fn from_fragment(fragment: Fragment, flotation: Option<FloatKind>) -> FlexFlow { - let (main_mode, is_reverse) = match fragment.style.get_position().flex_direction { flex_direction::T::row => (Mode::Inline, false), flex_direction::T::row_reverse => (Mode::Inline, true), diff --git a/components/layout/query.rs b/components/layout/query.rs index 2fae4974e25..7f2b7a44fb2 100644 --- a/components/layout/query.rs +++ b/components/layout/query.rs @@ -51,7 +51,6 @@ fn overflow_direction(writing_mode: &WritingMode) -> OverflowDirection { } impl LayoutRPC for LayoutRPCImpl { - // The neat thing here is that in order to answer the following two queries we only // need to compare nodes for equality. Thus we can safely work only with `OpaqueNode`. fn content_box(&self) -> ContentBoxResponse { diff --git a/components/layout/text.rs b/components/layout/text.rs index b2f08fff75b..e2d88e539f8 100644 --- a/components/layout/text.rs +++ b/components/layout/text.rs @@ -411,7 +411,6 @@ impl TextRunScanner { #[inline] fn bounding_box_for_run_metrics(metrics: &RunMetrics, writing_mode: WritingMode) -> LogicalSize<Au> { - // This does nothing, but it will fail to build // when more values are added to the `text-orientation` CSS property. // This will be a reminder to update the code below. diff --git a/components/layout/wrapper.rs b/components/layout/wrapper.rs index 9d87c34ff52..24c78f190b7 100644 --- a/components/layout/wrapper.rs +++ b/components/layout/wrapper.rs @@ -982,7 +982,6 @@ impl<'a> PartialEq for ServoThreadSafeLayoutNode<'a> { } impl<'ln> DangerousThreadSafeLayoutNode for ServoThreadSafeLayoutNode<'ln> { - unsafe fn dangerous_first_child(&self) -> Option<Self> { self.get_jsmanaged().first_child_ref() .map(|node| self.new_with_this_lifetime(&node)) |