Bug 1322446: Use namespaces in stylo's bindings. r=heycam
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 07 Dec 2016 17:30:52 -1000
changeset 325372 c0c81b07657019357731bcbd7238ca77290371c9
parent 325371 8282bb09dc78e66b60ea2f1f905980bb15157788
child 325373 64e024fe44719575aa56c432e059ca065071ac95
child 325405 594afa97ff78d3f2814f3710719b32b25b1640e9
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersheycam
bugs1322446, 14472
milestone53.0a1
Bug 1322446: Use namespaces in stylo's bindings. r=heycam Servo patch: https://github.com/servo/servo/pull/14472 MozReview-Commit-ID: 1YHF10pP19s
layout/style/nsStyleStruct.h
--- a/layout/style/nsStyleStruct.h
+++ b/layout/style/nsStyleStruct.h
@@ -3953,17 +3953,17 @@ struct nsSize_Simple {
   nscoord width, height;
 };
 
 STATIC_ASSERT_TYPE_LAYOUTS_MATCH(nsSize, nsSize_Simple);
 STATIC_ASSERT_FIELD_OFFSET_MATCHES(nsSize, nsSize_Simple, width);
 STATIC_ASSERT_FIELD_OFFSET_MATCHES(nsSize, nsSize_Simple, height);
 
 /**
- * <div rustbindgen="true" replaces="mozilla_UniquePtr">
+ * <div rustbindgen="true" replaces="mozilla::UniquePtr">
  *
  * TODO(Emilio): This is a workaround and we should be able to get rid of this
  * one.
  */
 template<typename T, typename Deleter = mozilla::DefaultDelete<T>>
 struct UniquePtr_Simple {
   T* mPtr;
 };