aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-07-27 22:33:20 +0200
committerMs2ger <ms2ger@gmail.com>2014-07-27 22:54:51 +0200
commitf392334d2e2b6361f9002b13a29ae194c29cfbad (patch)
tree12427c27e62e99dd390ae7b87836973095abf74b /src
parent6219d5b24bc249108063a3d6a8c697c0e056eb1d (diff)
downloadservo-f392334d2e2b6361f9002b13a29ae194c29cfbad.tar.gz
servo-f392334d2e2b6361f9002b13a29ae194c29cfbad.zip
Comment out references to floating-point arguments with default values.
Our parser does not support floating-point constants, so we can't use default values for floating-point types.
Diffstat (limited to 'src')
-rw-r--r--src/components/script/dom/testbinding.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/testbinding.rs b/src/components/script/dom/testbinding.rs
index 4a3ff1fadd9..5747b85ced5 100644
--- a/src/components/script/dom/testbinding.rs
+++ b/src/components/script/dom/testbinding.rs
@@ -228,8 +228,8 @@ pub trait TestBindingMethods {
fn PassOptionalNullableUnsignedLongWithDefault(&self, _: Option<u32>) {}
fn PassOptionalNullableLongLongWithDefault(&self, _: Option<i64>) {}
fn PassOptionalNullableUnsignedLongLongWithDefault(&self, _: Option<u64>) {}
- fn PassOptionalNullableFloatWithDefault(&self, _: Option<f32>) {}
- fn PassOptionalNullableDoubleWithDefault(&self, _: Option<f64>) {}
+ // fn PassOptionalNullableFloatWithDefault(&self, _: Option<f32>) {}
+ // fn PassOptionalNullableDoubleWithDefault(&self, _: Option<f64>) {}
fn PassOptionalNullableStringWithDefault(&self, _: Option<DOMString>) {}
fn PassOptionalNullableByteStringWithDefault(&self, _: Option<ByteString>) {}
// fn PassOptionalNullableEnumWithDefault(&self, _: Option<TestEnum>) {}