Skip to content

Commit

Permalink
Bug 1736236 - Remove obsolete LayerManager.h. r=gfx-reviewers,lsalzman
Browse files Browse the repository at this point in the history
This adds a bunch of #include "WindowRenderer.h" in places
that were getting it implicitly before.

Differential Revision: https://phabricator.services.mozilla.com/D128687
  • Loading branch information
jrmuizel committed Oct 17, 2021
1 parent 3e6e360 commit f76f41f
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 500 deletions.
1 change: 1 addition & 0 deletions dom/animation/KeyframeEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "nsPresContextInlines.h"
#include "nsRefreshDriver.h"
#include "js/PropertyAndElement.h" // JS_DefineProperty
#include "WindowRenderer.h"

namespace mozilla {

Expand Down
1 change: 1 addition & 0 deletions dom/canvas/CanvasRenderingContext2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
#include "mozilla/layers/CanvasClient.h"
#include "mozilla/layers/WebRenderUserData.h"
#include "mozilla/layers/WebRenderCanvasRenderer.h"
#include "WindowRenderer.h"

#undef free // apparently defined by some windows header, clashing with a
// free() method in SkTypes.h
Expand Down
1 change: 1 addition & 0 deletions dom/html/HTMLCanvasElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#include "CanvasUtils.h"
#include "VRManagerChild.h"
#include "ClientWebGLContext.h"
#include "WindowRenderer.h"

using namespace mozilla::layers;
using namespace mozilla::gfx;
Expand Down
1 change: 1 addition & 0 deletions dom/media/MediaDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "nsPrintfCString.h"
#include "nsServiceManagerUtils.h"
#include "nsTArray.h"
#include "WindowRenderer.h"
#include <algorithm>
#include <limits>

Expand Down
1 change: 1 addition & 0 deletions dom/media/mediacapabilities/MediaCapabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "mozilla/dom/WorkerRef.h"
#include "mozilla/layers/KnowsCompositor.h"
#include "nsContentUtils.h"
#include "WindowRenderer.h"

static mozilla::LazyLogModule sMediaCapabilitiesLog("MediaCapabilities");

Expand Down
Loading

0 comments on commit f76f41f

Please sign in to comment.