aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/callback.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-29 21:13:15 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-29 21:13:15 +0100
commit36ce24454c2f51a6e84630e42141d75b21e259e2 (patch)
tree1a0963b32d4869973c8c8410ca46db83e8710033 /components/script/dom/bindings/callback.rs
parentbbf13590243866f1ca57a56ebd4be1d9bf04a56f (diff)
downloadservo-36ce24454c2f51a6e84630e42141d75b21e259e2.tar.gz
servo-36ce24454c2f51a6e84630e42141d75b21e259e2.zip
Rename GetContext to get_context.
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r--components/script/dom/bindings/callback.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs
index 7d4cdc56802..24bdc815509 100644
--- a/components/script/dom/bindings/callback.rs
+++ b/components/script/dom/bindings/callback.rs
@@ -154,7 +154,7 @@ impl CallSetup {
}
/// Returns the `JSContext` used for the call.
- pub fn GetContext(&self) -> *mut JSContext {
+ pub fn get_context(&self) -> *mut JSContext {
self.cx
}
}