From 8dcee0aad3c63e79c5167ad7280f861847491015 Mon Sep 17 00:00:00 2001 From: "dp%netscape.com" Date: Mon, 26 Nov 2001 22:47:16 +0000 Subject: [PATCH] timing js deserialization in timeline builds --- content/xul/content/src/nsXULElement.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/xul/content/src/nsXULElement.cpp b/content/xul/content/src/nsXULElement.cpp index d7e97f850640..0c08642f62f0 100644 --- a/content/xul/content/src/nsXULElement.cpp +++ b/content/xul/content/src/nsXULElement.cpp @@ -146,6 +146,7 @@ #include "nsISizeOfHandler.h" #include "nsReadableUtils.h" +#include "nsITimelineService.h" class nsIWebShell; @@ -4965,6 +4966,7 @@ nsresult nsXULPrototypeScript::Deserialize(nsIObjectInputStream* aStream, nsIScriptContext* aContext) { + NS_TIMELINE_MARK_FUNCTION("chrome js deserialize"); nsresult rv; NS_ASSERTION(!mSrcLoading || mSrcLoadWaiters != nsnull || !mJSObject,