diff --git a/xpcom/libxpt/xptcall/porting.html b/xpcom/libxpt/xptcall/porting.html
index 250f1d54c73..c10de41bb22 100644
--- a/xpcom/libxpt/xptcall/porting.html
+++ b/xpcom/libxpt/xptcall/porting.html
@@ -106,7 +106,7 @@ public:
Code that wishes to make use of this stubs functionality (such as
XPConnect) implement a class
which inherits from nsXPTCStubBase
and implements the
-GetInterfaceInfo
and CallMethodCallMethod
to let the
+GetInterfaceInfo
and CallMethod
to let the
platform specific code know how to get interface information and how to dispatch methods
once their parameters have been pulled out of the platform specific calling
frame.
@@ -120,7 +120,7 @@ class share that vtbl and the same stubs. The stubs forward calls to a platform
specific method that uses the interface information supplied by
the overridden GetInterfaceInfo
to extract the parameters and build
an array of platform independent nsXPTCMiniVariant
structs which
-are in turn passed on to the overridden CallMethodCallMethod
. The
+are in turn passed on to the overridden CallMethod
. The
platform dependent code is responsible for doing any cleanup and returning.
diff --git a/xpcom/reflect/xptcall/porting.html b/xpcom/reflect/xptcall/porting.html
index 250f1d54c73..c10de41bb22 100644
--- a/xpcom/reflect/xptcall/porting.html
+++ b/xpcom/reflect/xptcall/porting.html
@@ -106,7 +106,7 @@ public:
Code that wishes to make use of this stubs functionality (such as
XPConnect) implement a class
which inherits from nsXPTCStubBase
and implements the
-GetInterfaceInfo
and CallMethodCallMethod
to let the
+GetInterfaceInfo
and CallMethod
to let the
platform specific code know how to get interface information and how to dispatch methods
once their parameters have been pulled out of the platform specific calling
frame.
@@ -120,7 +120,7 @@ class share that vtbl and the same stubs. The stubs forward calls to a platform
specific method that uses the interface information supplied by
the overridden GetInterfaceInfo
to extract the parameters and build
an array of platform independent nsXPTCMiniVariant
structs which
-are in turn passed on to the overridden CallMethodCallMethod
. The
+are in turn passed on to the overridden CallMethod
. The
platform dependent code is responsible for doing any cleanup and returning.