Commit 915a1e33 authored by Philip Rogers's avatar Philip Rogers Committed by Commit Bot

Remove unused is_main_frame_layout_view_layer_ in CompositedLayerMapping

In working on https://crrev.com/733649 this unused variable was noticed.

Change-Id: I1ec61c972e9df85cc098b92cea79fe0e5843a92f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2013322
Commit-Queue: Philip Rogers <pdr@chromium.org>
Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org>
Auto-Submit: Philip Rogers <pdr@chromium.org>
Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733769}
parent 9b51f8a9
......@@ -188,14 +188,10 @@ static bool NeedsDecorationOutlineLayer(const PaintLayer& paint_layer,
CompositedLayerMapping::CompositedLayerMapping(PaintLayer& layer)
: owning_layer_(layer),
pending_update_scope_(kGraphicsLayerUpdateNone),
is_main_frame_layout_view_layer_(false),
scrolling_contents_are_empty_(false),
background_paints_onto_scrolling_contents_layer_(false),
background_paints_onto_graphics_layer_(false),
draws_background_onto_content_layer_(false) {
if (layer.IsRootLayer() && GetLayoutObject().GetFrame()->IsMainFrame())
is_main_frame_layout_view_layer_ = true;
CreatePrimaryGraphicsLayer();
}
......
......@@ -482,7 +482,6 @@ class CORE_EXPORT CompositedLayerMapping final : public GraphicsLayerClient {
PhysicalRect composited_bounds_;
unsigned pending_update_scope_ : 2;
unsigned is_main_frame_layout_view_layer_ : 1;
unsigned scrolling_contents_are_empty_ : 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment