Bug 1322446: Use namespaces in stylo's bindings. r?heycam draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 07 Dec 2016 17:30:52 -1000
changeset 447855 d75f85b4bbabb3350a271ba31e5b94f28d76f17e
parent 447759 c2526f6786f074888d71c8e166a02aea3e19e75b
child 539153 1fbcfedc203c00f6f1755a1c42f0bb84fb6de545
push id38195
push userbmo:ecoal95@gmail.com
push dateThu, 08 Dec 2016 03:32:37 +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;
 };