Bug 1463767 - ReleasingTimerHolder should expose nsINamed::GetName only if MOZ_COLLECTING_RUNNABLE_TELEMETRY is defined, r=smaug
authorAndrea Marchesini <amarchesini@mozilla.com>
Fri, 25 May 2018 14:46:44 +0200
changeset 419862 109d4f846f31e2263598fb40786f325bc26b9e20
parent 419861 998c04fd7948e070c3ffbe456d98a0d876911c72
child 419863 7ab29553438948a56f096ed727ba3577a6fdfebd
push id103637
push useramarchesini@mozilla.com
push dateFri, 25 May 2018 12:47:04 +0000
treeherdermozilla-inbound@109d4f846f31 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1463767
milestone62.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 1463767 - ReleasingTimerHolder should expose nsINamed::GetName only if MOZ_COLLECTING_RUNNABLE_TELEMETRY is defined, r=smaug
dom/file/nsHostObjectProtocolHandler.cpp
--- a/dom/file/nsHostObjectProtocolHandler.cpp
+++ b/dom/file/nsHostObjectProtocolHandler.cpp
@@ -476,17 +476,19 @@ public:
 
   NS_IMETHOD
   Notify(nsITimer* aTimer) override
   {
     RevokeURI(mBroadcastToOtherProcesses);
     return NS_OK;
   }
 
+#ifdef MOZ_COLLECTING_RUNNABLE_TELEMETRY
   using nsINamed::GetName;
+#endif
 
   // nsIAsyncShutdownBlocker interface
 
   NS_IMETHOD
   GetName(nsAString& aName) override
   {
     aName.AssignLiteral("ReleasingTimerHolder for blobURL: ");
     aName.Append(NS_ConvertUTF8toUTF16(mURI));