diff options
Diffstat (limited to 'components/servo/lib.rs')
-rw-r--r-- | components/servo/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/servo/lib.rs b/components/servo/lib.rs index 61ddd3f1e0f..011b4a77b64 100644 --- a/components/servo/lib.rs +++ b/components/servo/lib.rs @@ -199,7 +199,7 @@ impl<Window> Servo<Window> where Window: WindowMethods + 'static + ?Sized, { - pub fn new(embedder: Box<EmbedderMethods>, window: Rc<Window>) -> Servo<Window> { + pub fn new(mut embedder: Box<EmbedderMethods>, window: Rc<Window>) -> Servo<Window> { // Global configuration options, parsed from the command line. let opts = opts::get(); |