Bug 1509955: Preemptively fix unified bustage in layout/base. r=TYLin
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 26 Nov 2018 22:07:03 +0000
changeset 507357 38acc9df8e69e5c2377ba2f6d6c8bc6665a5dbef
parent 507356 eaa26fe663cb2b4ab2a6c6da22b50f8595742092
child 507358 2c4f0bf2be1c6a47ca537ce552099bb9eefbe5be
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersTYLin
bugs1509955
milestone65.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 1509955: Preemptively fix unified bustage in layout/base. r=TYLin Just adding: - a missing-but-needed forward-decl (in LayersLogging.h which is included by files in layout/base). - a 'using' decl (to provide layers::AnimationInfo). - a missing-but-needed #include for nsCOMPtr. Differential Revision: https://phabricator.services.mozilla.com/D12964
gfx/layers/LayersLogging.h
layout/base/RestyleManager.cpp
layout/base/ZoomConstraintsClient.h
--- a/gfx/layers/LayersLogging.h
+++ b/gfx/layers/LayersLogging.h
@@ -25,16 +25,17 @@ namespace mozilla {
 
 namespace gfx {
 template <class units, class F> struct RectTyped;
 } // namespace gfx
 
 enum class ImageFormat;
 
 namespace layers {
+struct ZoomConstraints;
 
 void
 AppendToString(std::stringstream& aStream, const void* p,
                const char* pfx="", const char* sfx="");
 
 void
 AppendToString(std::stringstream& aStream, ScrollableLayerGuid::ViewID n,
                const char* pfx="", const char* sfx="");
--- a/layout/base/RestyleManager.cpp
+++ b/layout/base/RestyleManager.cpp
@@ -49,16 +49,17 @@
 #include "ActiveLayerTracker.h"
 #include "nsSVGIntegrationUtils.h"
 
 #ifdef ACCESSIBILITY
 #include "nsAccessibilityService.h"
 #endif
 
 using namespace mozilla::dom;
+using namespace mozilla::layers;
 
 namespace mozilla {
 
 RestyleManager::RestyleManager(nsPresContext* aPresContext)
   : mPresContext(aPresContext)
   , mRestyleGeneration(1)
   , mUndisplayedRestyleGeneration(1)
   , mInStyleRefresh(false)
--- a/layout/base/ZoomConstraintsClient.h
+++ b/layout/base/ZoomConstraintsClient.h
@@ -4,16 +4,17 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef ZoomConstraintsClient_h_
 #define ZoomConstraintsClient_h_
 
 #include "mozilla/layers/ScrollableLayerGuid.h"
 #include "mozilla/Maybe.h"
+#include "nsCOMPtr.h"
 #include "nsIDOMEventListener.h"
 #include "nsIObserver.h"
 
 class nsIDocument;
 class nsIPresShell;
 
 namespace mozilla {
 namespace dom {