aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/macos/font_context.rs
blob: e728b62aebd4bd61e6ee0b695b3562679ea8bc88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

use heapsize::HeapSizeOf;

#[derive(Clone, Debug)]
pub struct FontContextHandle {
    ctx: ()
}

impl FontContextHandle {
    // this is a placeholder until NSFontManager or whatever is bound in here.
    pub fn new() -> FontContextHandle {
        FontContextHandle { ctx: () }
    }
}

impl HeapSizeOf for FontContextHandle {
    fn heap_size_of_children(&self) -> usize {
        0
    }
}