diff --git a/dom/ipc/ContentParent.cpp b/dom/ipc/ContentParent.cpp index 0fe27ab5bca3..557f18c221a2 100755 --- a/dom/ipc/ContentParent.cpp +++ b/dom/ipc/ContentParent.cpp @@ -1845,11 +1845,12 @@ ContentParent::OnBeginSyncTransaction() { if (!sDisableUnsafeCPOWWarnings) { if (console && cx) { nsAutoString filename; - uint32_t lineno = 0; - nsJSUtils::GetCallingLocation(cx, filename, &lineno); + uint32_t lineno = 0, column = 0; + nsJSUtils::GetCallingLocation(cx, filename, &lineno, &column); nsCOMPtr error(do_CreateInstance(NS_SCRIPTERROR_CONTRACTID)); - error->Init(NS_LITERAL_STRING("unsafe CPOW usage"), filename, EmptyString(), - lineno, 0, nsIScriptError::warningFlag, "chrome javascript"); + error->Init(NS_LITERAL_STRING("unsafe CPOW usage"), filename, + EmptyString(), lineno, column, + nsIScriptError::warningFlag, "chrome javascript"); console->LogMessage(error); } else { NS_WARNING("Unsafe synchronous IPC message");