| Index: third_party/WebKit/Source/platform/geometry/Region.cpp
|
| diff --git a/third_party/WebKit/Source/platform/geometry/Region.cpp b/third_party/WebKit/Source/platform/geometry/Region.cpp
|
| index ab0b53e252d579719bf7d8b5880a5e6ca7bcb18d..3706255db66361f83fe5208985f63d219a10fd6b 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/Region.cpp
|
| +++ b/third_party/WebKit/Source/platform/geometry/Region.cpp
|
| @@ -247,7 +247,7 @@ bool Region::Shape::canCoalesce(SegmentIterator begin, SegmentIterator end) {
|
| return false;
|
|
|
| SegmentIterator lastSpanBegin =
|
| - m_segments.data() + m_spans.last().segmentIndex;
|
| + m_segments.data() + m_spans.back().segmentIndex;
|
| SegmentIterator lastSpanEnd = m_segments.data() + m_segments.size();
|
|
|
| // Check if both spans have an equal number of segments.
|
|
|