aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Marble <arthur@info9.net>2016-09-18 07:32:05 -0500
committerArthur Marble <arthur@info9.net>2016-09-18 07:32:05 -0500
commit5f961f9fd9aeb13ff6c5746a8d143a30a90b06c2 (patch)
treed9b5f306396f9de7f322305c6252134bbb227db0
parentb874e764553b928db06e580498516558ebeb5d72 (diff)
downloadservo-5f961f9fd9aeb13ff6c5746a8d143a30a90b06c2.tar.gz
servo-5f961f9fd9aeb13ff6c5746a8d143a30a90b06c2.zip
Fix my typo on commit. Rest of the fixes will be here soon.
-rw-r--r--components/script/dom/browsingcontext.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/browsingcontext.rs b/components/script/dom/browsingcontext.rs
index 4659844af00..02d153296ae 100644
--- a/components/script/dom/browsingcontext.rs
+++ b/components/script/dom/browsingcontext.rs
@@ -230,7 +230,7 @@ impl SessionHistoryEntry {
}
#[allow(unsafe_code)]
-unsafe fn getSubframeWindow(cx: *mut JSContext,
+unsafe fn GetSubframeWindow(cx: *mut JSContext,
proxy: HandleObject,
id: HandleId)
-> Option<Root<Window>> {
@@ -251,7 +251,7 @@ unsafe extern "C" fn getOwnPropertyDescriptor(cx: *mut JSContext,
id: HandleId,
mut desc: MutableHandle<PropertyDescriptor>)
-> bool {
- let window = getSubframeWindow(cx, proxy, id);
+ let window = GetSubframeWindow(cx, proxy, id);
if let Some(window) = window {
rooted!(in(cx) let mut val = UndefinedValue());
window.to_jsval(cx, val.handle_mut());
@@ -300,7 +300,7 @@ unsafe extern "C" fn has(cx: *mut JSContext,
id: HandleId,
bp: *mut bool)
-> bool {
- let window = getSubframeWindow(cx, proxy, id);
+ let window = GetSubframeWindow(cx, proxy, id);
if window.is_some() {
*bp = true;
return true;
@@ -323,7 +323,7 @@ unsafe extern "C" fn get(cx: *mut JSContext,
id: HandleId,
vp: MutableHandleValue)
-> bool {
- let window = getSubframeWindow(cx, proxy, id);
+ let window = GetSubframeWindow(cx, proxy, id);
if let Some(window) = window {
window.to_jsval(cx, vp);
return true;