aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2015-11-20 13:26:18 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2015-11-20 13:26:18 +0530
commit0146751bb227e577f54c4c0574ae36236e2bcdce (patch)
tree4c31f79e5cf5b34ed41ebf34d9f4b1598beff996
parent8b39b9afed6ef8a3d7d3e6609fd301a37825d3e1 (diff)
parentb40c629aac600ef868fbbb811da091c693d1c123 (diff)
downloadservo-0146751bb227e577f54c4c0574ae36236e2bcdce.tar.gz
servo-0146751bb227e577f54c4c0574ae36236e2bcdce.zip
Auto merge of #8615 - Ms2ger:unusued-import, r=SimonSapin
Remove unused import. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8615) <!-- Reviewable:end -->
-rw-r--r--components/compositing/sandboxing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/compositing/sandboxing.rs b/components/compositing/sandboxing.rs
index dd02f878ae3..41273cad0a7 100644
--- a/components/compositing/sandboxing.rs
+++ b/components/compositing/sandboxing.rs
@@ -2,7 +2,6 @@
* 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 gaol::platform;
use gaol::profile::{Operation, PathPattern, Profile};
use std::path::PathBuf;
use util::resource_files;
@@ -10,6 +9,7 @@ use util::resource_files;
/// Our content process sandbox profile on Mac. As restrictive as possible.
#[cfg(target_os = "macos")]
pub fn content_process_sandbox_profile() -> Profile {
+ use gaol::platform;
Profile::new(vec![
Operation::FileReadAll(PathPattern::Literal(PathBuf::from("/dev/urandom"))),
Operation::FileReadAll(PathPattern::Subpath(resource_files::resources_dir_path())),