Commit da0f4b24 authored by Emil A Eklund's avatar Emil A Eklund Committed by Commit Bot

Rename layout_object_ in RoundedInnerRectClipper

Rename RoundedInnerRectClipper::layout_object_ to display_item_.

TBR=pdr@chromium.org

Change-Id: I43353f7e2ecafdbfc4f3f1e19f88705b90273ed5
Reviewed-on: https://chromium-review.googlesource.com/565758Reviewed-by: default avatarEmil A Eklund <eae@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Cr-Commit-Position: refs/heads/master@{#485407}
parent a00da5fc
......@@ -12,12 +12,12 @@
namespace blink {
RoundedInnerRectClipper::RoundedInnerRectClipper(
const DisplayItemClient& layout_object,
const DisplayItemClient& display_item,
const PaintInfo& paint_info,
const LayoutRect& rect,
const FloatRoundedRect& clip_rect,
RoundedInnerRectClipperBehavior behavior)
: layout_object_(layout_object),
: display_item_(display_item),
paint_info_(paint_info),
use_paint_controller_(behavior == kApplyToDisplayList),
clip_type_(use_paint_controller_
......@@ -73,7 +73,7 @@ RoundedInnerRectClipper::RoundedInnerRectClipper(
if (use_paint_controller_) {
paint_info_.context.GetPaintController().CreateAndAppend<ClipDisplayItem>(
layout_object, clip_type_, LayoutRect::InfiniteIntRect(),
display_item, clip_type_, LayoutRect::InfiniteIntRect(),
rounded_rect_clips);
} else {
paint_info.context.Save();
......@@ -89,7 +89,7 @@ RoundedInnerRectClipper::~RoundedInnerRectClipper() {
DisplayItem::Type end_type = DisplayItem::ClipTypeToEndClipType(clip_type_);
if (use_paint_controller_) {
paint_info_.context.GetPaintController().EndItem<EndClipDisplayItem>(
layout_object_, end_type);
display_item_, end_type);
} else {
paint_info_.context.Restore();
}
......
......@@ -29,7 +29,7 @@ class RoundedInnerRectClipper {
~RoundedInnerRectClipper();
private:
const DisplayItemClient& layout_object_;
const DisplayItemClient& display_item_;
const PaintInfo& paint_info_;
bool use_paint_controller_;
DisplayItem::Type clip_type_;
......
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