Bug 1093839 - remove unused declaration of SerializeJSValVariant. r=smaug
authorTom Tromey <tom@tromey.com>
Tue, 04 Nov 2014 13:21:00 +0100
changeset 214364 71c607c0f4f2d4906d64700ee6e1a0459c1520cb
parent 214363 fd98b545a4b967bd1c34ace83aae2b2233b1d38f
child 214365 06275a674a574b703405e51cdb710351f2c1bc36
push id27780
push userkwierso@gmail.com
push dateFri, 07 Nov 2014 02:25:05 +0000
treeherdermozilla-central@e6d47abb6a7b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1093839
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1093839 - remove unused declaration of SerializeJSValVariant. r=smaug
docshell/base/nsDocShell.h
--- a/docshell/base/nsDocShell.h
+++ b/docshell/base/nsDocShell.h
@@ -328,21 +328,16 @@ protected:
                                   nsIChannel * aChannel);
     virtual nsresult DoChannelLoad(nsIChannel * aChannel,
                                    nsIURILoader * aURILoader,
                                    bool aBypassClassifier);
 
     nsresult ScrollToAnchor(nsACString & curHash, nsACString & newHash,
                             uint32_t aLoadType);
 
-    // Tries to serialize a given variant using structured clone.  This only
-    // works if the variant is backed by a JSVal.
-    nsresult SerializeJSValVariant(JSContext *aCx, nsIVariant *aData,
-                                   nsAString &aResult);
-
     // Returns true if would have called FireOnLocationChange,
     // but did not because aFireOnLocationChange was false on entry.
     // In this case it is the caller's responsibility to ensure
     // FireOnLocationChange is called.
     // In all other cases false is returned.
     bool OnLoadingSite(nsIChannel * aChannel,
                          bool aFireOnLocationChange,
                          bool aAddToGlobalHistory = true);