Skip to content

Commit

Permalink
Bug 1878433 Part 3 - Sort #includes in nsCanvasFrame.cpp, and removed…
Browse files Browse the repository at this point in the history
… some unused ones. r=dholbert

Also, remove the following because they are not used.

- #include "AccessibleCaretEventHub.h"
- #include "nsPrintfCString.h"

Differential Revision: https://phabricator.services.mozilla.com/D200529
  • Loading branch information
aethanyc committed Feb 3, 2024
1 parent d20d326 commit 80e8014
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions layout/generic/nsCanvasFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,26 @@
#include "nsCanvasFrame.h"

#include "gfxContext.h"
#include "gfxUtils.h"
#include "nsContainerFrame.h"
#include "nsContentCreatorFunctions.h"
#include "nsCSSRendering.h"
#include "nsPresContext.h"
#include "nsGkAtoms.h"
#include "nsIFrameInlines.h"
#include "nsDisplayList.h"
#include "nsCSSFrameConstructor.h"
#include "nsFrameManager.h"
#include "gfxPlatform.h"
#include "nsPrintfCString.h"
#include "mozilla/AccessibleCaretEventHub.h"
#include "gfxUtils.h"
#include "mozilla/BasePrincipal.h"
#include "mozilla/ComputedStyle.h"
#include "mozilla/StaticPrefs_browser.h"
#include "mozilla/StaticPrefs_layout.h"
#include "mozilla/dom/AnonymousContent.h"
#include "mozilla/layers/StackingContextHelper.h"
#include "mozilla/layers/RenderRootStateManager.h"
#include "mozilla/layers/StackingContextHelper.h"
#include "mozilla/PresShell.h"
#include "mozilla/StaticPrefs_browser.h"
#include "mozilla/StaticPrefs_layout.h"
#include "nsContainerFrame.h"
#include "nsContentCreatorFunctions.h"
#include "nsCSSFrameConstructor.h"
#include "nsCSSRendering.h"
#include "nsDisplayList.h"
#include "nsFrameManager.h"
#include "nsGkAtoms.h"
#include "nsIFrameInlines.h"
#include "nsIScrollableFrame.h"
#include "nsPresContext.h"

using namespace mozilla;
using namespace mozilla::dom;
Expand Down

0 comments on commit 80e8014

Please sign in to comment.