mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove get_
prefix on getters
Part of #6224 I certainly didn't remove all of them; I avoided `unsafe` areas and also `components/script`
This commit is contained in:
parent
c63fc4dc13
commit
435e551753
21 changed files with 62 additions and 70 deletions
|
@ -177,9 +177,9 @@ impl<C> PaintTask<C> where C: PaintListener + Send + 'static {
|
|||
// Ensures that the paint task and graphics context are destroyed before the
|
||||
// shutdown message.
|
||||
let mut compositor = compositor;
|
||||
let native_graphics_context = compositor.get_graphics_metadata().map(
|
||||
let native_graphics_context = compositor.graphics_metadata().map(
|
||||
|md| NativePaintingGraphicsContext::from_metadata(&md));
|
||||
let worker_threads = WorkerThreadProxy::spawn(compositor.get_graphics_metadata(),
|
||||
let worker_threads = WorkerThreadProxy::spawn(compositor.graphics_metadata(),
|
||||
font_cache_task,
|
||||
time_profiler_chan.clone());
|
||||
|
||||
|
@ -724,4 +724,3 @@ pub static THREAD_TINT_COLORS: [Color; 8] = [
|
|||
Color { r: 255.0/255.0, g: 249.0/255.0, b: 201.0/255.0, a: 0.7 },
|
||||
Color { r: 137.0/255.0, g: 196.0/255.0, b: 78.0/255.0, a: 0.7 },
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue