servo: Merge #15695 - Stylo: Add constructors for @font-face descriptors (from canaltinova:stylo-font-face); r=Manishearth
authorNazım Can Altınova <canaltinova@gmail.com>
Thu, 23 Feb 2017 12:37:06 -0800
changeset 344532 d319fe9126db22f2e01f3dff0dc2762d0b55171b
parent 344531 cb58c51343bffc603847a3121146eef8eb2aeee5
child 344533 a8775af9fb3432e4a6191851a5977cefa45e422f
push id31413
push usercbook@mozilla.com
push dateFri, 24 Feb 2017 10:18:46 +0000
treeherdermozilla-central@c7935d540027 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersManishearth
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
servo: Merge #15695 - Stylo: Add constructors for @font-face descriptors (from canaltinova:stylo-font-face); r=Manishearth <!-- Please describe your changes on the following line: --> Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1340728 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix [Bug #1340728](https://bugzilla.mozilla.org/show_bug.cgi?id=1340728) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: ad2ca516a2b3c81f577a0b750cdda12058006da1
servo/components/style/gecko_bindings/bindings.rs
--- a/servo/components/style/gecko_bindings/bindings.rs
+++ b/servo/components/style/gecko_bindings/bindings.rs
@@ -836,16 +836,36 @@ extern "C" {
     pub fn Gecko_CSSValue_SetCalc(css_value: nsCSSValueBorrowedMut,
                                   calc: nsStyleCoord_CalcValue);
 }
 extern "C" {
     pub fn Gecko_CSSValue_SetFunction(css_value: nsCSSValueBorrowedMut,
                                       len: i32);
 }
 extern "C" {
+    pub fn Gecko_CSSValue_SetString(css_value: nsCSSValueBorrowedMut,
+                                    string: nsString);
+}
+extern "C" {
+    pub fn Gecko_CSSValue_SetArray(css_value: nsCSSValueBorrowedMut,
+                                   len: i32);
+}
+extern "C" {
+    pub fn Gecko_CSSValue_SetURL(css_value: nsCSSValueBorrowedMut,
+                                 uri: ServoBundledURI);
+}
+extern "C" {
+    pub fn Gecko_CSSValue_SetLocal(css_value: nsCSSValueBorrowedMut,
+                                   family: nsString);
+}
+extern "C" {
+    pub fn Gecko_CSSValue_SetInteger(css_value: nsCSSValueBorrowedMut,
+                                     integer: i32);
+}
+extern "C" {
     pub fn Gecko_CSSValue_Drop(css_value: nsCSSValueBorrowedMut);
 }
 extern "C" {
     pub fn Gecko_AddRefCSSValueSharedListArbitraryThread(aPtr:
                                                              *mut nsCSSValueSharedList);
 }
 extern "C" {
     pub fn Gecko_ReleaseCSSValueSharedListArbitraryThread(aPtr: