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,12 +87,12 @@ impl TextRunScanner {
|
|||
///
|
||||
/// FIXME(#2267, pcwalton): Stop cloning fragments. Instead we will need to replace each
|
||||
/// `in_fragment` with some smaller stub.
|
||||
pub fn flush_clump_to_list(&mut self,
|
||||
font_context: &mut FontContext,
|
||||
in_fragments: &[Fragment],
|
||||
out_fragments: &mut Vec<Fragment>,
|
||||
last_whitespace: bool)
|
||||
-> bool {
|
||||
fn flush_clump_to_list(&mut self,
|
||||
font_context: &mut FontContext,
|
||||
in_fragments: &[Fragment],
|
||||
out_fragments: &mut Vec<Fragment>,
|
||||
last_whitespace: bool)
|
||||
-> bool {
|
||||
assert!(self.clump.length() > CharIndex(0));
|
||||
|
||||
debug!("TextRunScanner: flushing fragments in range={}", self.clump);
|
||||
|
|
|
@ -536,7 +536,7 @@ impl<'ln> ThreadSafeLayoutNode<'ln> {
|
|||
|
||||
/// Creates a new `ThreadSafeLayoutNode` for the same `LayoutNode`
|
||||
/// with a different pseudo-element type.
|
||||
pub fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
||||
fn with_pseudo(&self, pseudo: PseudoElementType) -> ThreadSafeLayoutNode<'ln> {
|
||||
ThreadSafeLayoutNode {
|
||||
node: self.node.clone(),
|
||||
pseudo: pseudo,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue