mirror of
https://github.com/servo/servo.git
synced 2025-07-26 00:30:22 +01:00
Stop using old_path in compositing.
This commit is contained in:
parent
96fb1dac3d
commit
b5bc73f5cb
2 changed files with 1 additions and 4 deletions
|
@ -38,7 +38,6 @@ use profile::time::{self, ProfilerCategory, profile};
|
|||
use std::cmp;
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::Entry::{Occupied, Vacant};
|
||||
use std::old_path::Path;
|
||||
use std::mem::replace;
|
||||
use std::num::Float;
|
||||
use std::rc::Rc;
|
||||
|
@ -1131,8 +1130,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
});
|
||||
|
||||
if output_image {
|
||||
let path: Path =
|
||||
opts::get().output_file.as_ref().unwrap().parse().unwrap();
|
||||
let path = opts::get().output_file.as_ref().unwrap();
|
||||
let mut pixels = gl::read_pixels(0, 0,
|
||||
width as gl::GLsizei,
|
||||
height as gl::GLsizei,
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#![feature(core)]
|
||||
#![feature(int_uint)]
|
||||
#![feature(old_io)]
|
||||
#![feature(old_path)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(std_misc)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue