Bug 1322094: Fixes for Stylo's binding generation in master bindgen. r=heycam

MozReview-Commit-ID: FSp9XfwX3FJ

--HG--
extra : rebase_source : eb3c72021b80bef78c3b6da62d6c8d38e5fe455a
This commit is contained in:
Emilio Cobos Álvarez 2016-12-05 03:39:24 +01:00
Родитель 0a71fb4e52
Коммит 8c271ab910
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -3028,6 +3028,10 @@ protected:
// Our readyState // Our readyState
ReadyState mReadyState; ReadyState mReadyState;
// Whether this document has (or will have, once we have a pres shell) a
// Gecko- or Servo-backed style system.
mozilla::StyleBackendType mStyleBackendType;
#ifdef MOZILLA_INTERNAL_API #ifdef MOZILLA_INTERNAL_API
// Our visibility state // Our visibility state
mozilla::dom::VisibilityState mVisibilityState; mozilla::dom::VisibilityState mVisibilityState;
@ -3036,10 +3040,6 @@ protected:
uint32_t mDummy; uint32_t mDummy;
#endif #endif
// Whether this document has (or will have, once we have a pres shell) a
// Gecko- or Servo-backed style system.
mozilla::StyleBackendType mStyleBackendType;
// True if BIDI is enabled. // True if BIDI is enabled.
bool mBidiEnabled : 1; bool mBidiEnabled : 1;
// True if a MathML element has ever been owned by this document. // True if a MathML element has ever been owned by this document.

Просмотреть файл

@ -3958,7 +3958,7 @@ STATIC_ASSERT_FIELD_OFFSET_MATCHES(nsSize, nsSize_Simple, width);
STATIC_ASSERT_FIELD_OFFSET_MATCHES(nsSize, nsSize_Simple, height); STATIC_ASSERT_FIELD_OFFSET_MATCHES(nsSize, nsSize_Simple, height);
/** /**
* <div rustbindgen="true" replaces="UniquePtr"> * <div rustbindgen="true" replaces="mozilla_UniquePtr">
* *
* TODO(Emilio): This is a workaround and we should be able to get rid of this * TODO(Emilio): This is a workaround and we should be able to get rid of this
* one. * one.