mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Merge pull request #3161 from mbrubeck/pub
Remove some unneeded pubs. r=Manishearth
This commit is contained in:
commit
f5ebd19c01
2 changed files with 7 additions and 7 deletions
|
@ -87,7 +87,7 @@ impl TextRunScanner {
|
||||||
///
|
///
|
||||||
/// FIXME(#2267, pcwalton): Stop cloning fragments. Instead we will need to replace each
|
/// FIXME(#2267, pcwalton): Stop cloning fragments. Instead we will need to replace each
|
||||||
/// `in_fragment` with some smaller stub.
|
/// `in_fragment` with some smaller stub.
|
||||||
pub fn flush_clump_to_list(&mut self,
|
fn flush_clump_to_list(&mut self,
|
||||||
font_context: &mut FontContext,
|
font_context: &mut FontContext,
|
||||||
in_fragments: &[Fragment],
|
in_fragments: &[Fragment],
|
||||||
out_fragments: &mut Vec<Fragment>,
|
out_fragments: &mut Vec<Fragment>,
|
||||||
|
|
|
@ -536,7 +536,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
||||||
|
|
||||||
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
||||||
/// with a different pseudo-element type.
|
/// with a different pseudo-element type.
|
||||||
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
||||||
ThreadSafeLayoutNode {
|
ThreadSafeLayoutNode {
|
||||||
node: self.node.clone(),
|
node: self.node.clone(),
|
||||||
pseudo: pseudo,
|
pseudo: pseudo,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue