Bug 1384616 - Fix indentation. r?jrmuizel
MozReview-Commit-ID: ArkCmZieGum
--- a/layout/painting/nsDisplayList.h
+++ b/layout/painting/nsDisplayList.h
@@ -1946,38 +1946,38 @@ public:
* constructed.
*/
virtual already_AddRefed<Layer> BuildLayer(nsDisplayListBuilder* aBuilder,
LayerManager* aManager,
const ContainerLayerParameters& aContainerParameters)
{ return nullptr; }
/**
- * Function to create the WebRenderCommands without
- * Layer. For layers mode, aManager->IsLayersFreeTransaction()
- * should be false to prevent doing GetLayerState again. For
- * layers-free mode, we should check if the layer state is
- * active first and have an early return if the layer state is
- * not active.
- *
- * @return true if successfully creating webrender commands.
- */
- virtual bool CreateWebRenderCommands(mozilla::wr::DisplayListBuilder& aBuilder,
- const StackingContextHelper& aSc,
- nsTArray<WebRenderParentCommand>& aParentCommands,
- mozilla::layers::WebRenderLayerManager* aManager,
- nsDisplayListBuilder* aDisplayListBuilder) { return false; }
+ * Function to create the WebRenderCommands without
+ * Layer. For layers mode, aManager->IsLayersFreeTransaction()
+ * should be false to prevent doing GetLayerState again. For
+ * layers-free mode, we should check if the layer state is
+ * active first and have an early return if the layer state is
+ * not active.
+ *
+ * @return true if successfully creating webrender commands.
+ */
+ virtual bool CreateWebRenderCommands(mozilla::wr::DisplayListBuilder& aBuilder,
+ const StackingContextHelper& aSc,
+ nsTArray<WebRenderParentCommand>& aParentCommands,
+ mozilla::layers::WebRenderLayerManager* aManager,
+ nsDisplayListBuilder* aDisplayListBuilder) { return false; }
/**
* Builds a DisplayItemLayer and sets the display item to this.
*/
- already_AddRefed<Layer>
- BuildDisplayItemLayer(nsDisplayListBuilder* aBuilder,
- LayerManager* aManager,
- const ContainerLayerParameters& aContainerParameters);
+ already_AddRefed<Layer>
+ BuildDisplayItemLayer(nsDisplayListBuilder* aBuilder,
+ LayerManager* aManager,
+ const ContainerLayerParameters& aContainerParameters);
/**
* On entry, aVisibleRegion contains the region (relative to ReferenceFrame())
* which may be visible. If the display item opaquely covers an area, it
* can remove that area from aVisibleRegion before returning.
* nsDisplayList::ComputeVisibility automatically subtracts the region
* returned by GetOpaqueRegion, and automatically removes items whose bounds
* do not intersect the visible area, so implementations of