diff --git a/js/xpconnect/loader/mozJSComponentLoader.cpp b/js/xpconnect/loader/mozJSComponentLoader.cpp index 6d94bbb9ee43..11f60c3a064b 100644 --- a/js/xpconnect/loader/mozJSComponentLoader.cpp +++ b/js/xpconnect/loader/mozJSComponentLoader.cpp @@ -1298,6 +1298,8 @@ mozJSComponentLoader::Import(JSContext* aCx, const nsACString& aLocation, NS_ENSURE_SUCCESS(rv, rv); } + AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING( + "mozJSComponentLoader::Import", JS, aLocation); ComponentLoaderInfo info(aLocation); rv = info.EnsureKey();