aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/macos
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2016-03-14 09:43:41 -0700
committerMs2ger <Ms2ger@gmail.com>2016-03-17 13:52:39 +0100
commit46c505e47bce15cacfcdfaf4bf36887abe20144d (patch)
treeb4bed36619e8a8b9054905efdbfe7cfaf132bbff /components/gfx/platform/macos
parent7214fba45b92f8c7ee9bc3963a430024f1ee2ed4 (diff)
downloadservo-46c505e47bce15cacfcdfaf4bf36887abe20144d.tar.gz
servo-46c505e47bce15cacfcdfaf4bf36887abe20144d.zip
Bump serde to 0.7
Diffstat (limited to 'components/gfx/platform/macos')
-rw-r--r--components/gfx/platform/macos/font_template.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/gfx/platform/macos/font_template.rs b/components/gfx/platform/macos/font_template.rs
index f15527e6a9f..3099bbd28ed 100644
--- a/components/gfx/platform/macos/font_template.rs
+++ b/components/gfx/platform/macos/font_template.rs
@@ -112,7 +112,7 @@ impl Deref for CachedCTFont {
impl Serialize for CachedCTFont {
fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer {
- serializer.visit_none()
+ serializer.serialize_none()
}
}
@@ -130,7 +130,7 @@ impl Deserialize for CachedCTFont {
}
}
- deserializer.visit_option(NoneOptionVisitor)
+ deserializer.deserialize_option(NoneOptionVisitor)
}
}