style: Add a temporary workaround for geckolib animations.

With needs_borrow we will be able to remove this, though we'll have to implement
clone_ and borrow_ methods for a bunch of properties.
This commit is contained in:
Emilio Cobos Álvarez 2016-06-30 14:37:08 -07:00
parent 2faaf952c7
commit bc4e670c5a
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 11 additions and 0 deletions

View file

@ -74,6 +74,7 @@ impl ComputedValues for GeckoComputedValues {
% endfor
// These will go away, and we will never implement them.
fn is_servo(&self) -> bool { false }
fn as_servo<'a>(&'a self) -> &'a ServoComputedValues { unimplemented!() }
fn as_servo_mut<'a>(&'a mut self) -> &'a mut ServoComputedValues { unimplemented!() }