Bug 1369859 - Add MOZ_GECKO_PROFILER ifdefs around #includes of ProfilerParent.h. r=njn

MozReview-Commit-ID: HS3BBsrHVHu

--HG--
extra : rebase_source : b8439920e82f067bb1a05d513d029363a8c2a24e
This commit is contained in:
Markus Stange 2017-06-02 16:03:39 -04:00
parent 8a0e62b656
commit 26469737d1
3 changed files with 8 additions and 2 deletions

View File

@ -184,7 +184,6 @@
#include "nsHostObjectProtocolHandler.h"
#include "nsICaptivePortalService.h"
#include "nsIObjectLoadingContent.h"
#include "ProfilerParent.h"
#include "nsIBidiKeyboard.h"
@ -257,6 +256,7 @@
#ifdef MOZ_GECKO_PROFILER
#include "nsIProfiler.h"
#include "ProfilerParent.h"
#endif
// For VP9Benchmark::sBenchmarkFpsPref

View File

@ -34,7 +34,6 @@
#include "PluginQuirks.h"
#include "gfxPlatform.h"
#include "GeckoProfiler.h"
#include "ProfilerParent.h"
#include "nsPluginTags.h"
#include "nsUnicharUtils.h"
#include "mozilla/layers/TextureClientRecycleAllocator.h"
@ -53,6 +52,10 @@
#include "PluginUtilsOSX.h"
#endif
#ifdef MOZ_GECKO_PROFILER
#include "ProfilerParent.h"
#endif
using base::KillProcess;
using mozilla::PluginLibrary;

View File

@ -20,7 +20,10 @@
#include "mozilla/ipc/CrashReporterHost.h"
#include "mozilla/layers/LayerTreeOwnerTracker.h"
#include "mozilla/Unused.h"
#ifdef MOZ_GECKO_PROFILER
#include "ProfilerParent.h"
#endif
namespace mozilla {
namespace gfx {