Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutTableCol.cpp

Issue 1817693002: Support edge-inclusive intersections in mapToVisibleRectInAncestorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-idle-callback
Patch Set: compiler warning fix Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
9 * 9 *
10 * This library is free software; you can redistribute it and/or 10 * This library is free software; you can redistribute it and/or
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 116
117 LayoutTable* table = this->table(); 117 LayoutTable* table = this->table();
118 if (!table) 118 if (!table)
119 return LayoutRect(); 119 return LayoutRect();
120 120
121 // The correctness of this method depends on the fact that LayoutTableCol's 121 // The correctness of this method depends on the fact that LayoutTableCol's
122 // location is always zero. 122 // location is always zero.
123 ASSERT(this->location() == LayoutPoint()); 123 ASSERT(this->location() == LayoutPoint());
124 124
125 LayoutRect r = table->visualOverflowRect(); 125 LayoutRect r = table->visualOverflowRect();
126 mapToVisibleRectInAncestorSpace(paintInvalidationContainer, r, paintInvalida tionState); 126 mapToVisibleRectInAncestorSpace(paintInvalidationContainer, r, paintInvalida tionState, false);
127 return r; 127 return r;
128 } 128 }
129 129
130 void LayoutTableCol::imageChanged(WrappedImagePtr, const IntRect*) 130 void LayoutTableCol::imageChanged(WrappedImagePtr, const IntRect*)
131 { 131 {
132 // FIXME: Issue paint invalidation of only the rect the image paints in. 132 // FIXME: Issue paint invalidation of only the rect the image paints in.
133 setShouldDoFullPaintInvalidation(); 133 setShouldDoFullPaintInvalidation();
134 } 134 }
135 135
136 void LayoutTableCol::clearPreferredLogicalWidthsDirtyBits() 136 void LayoutTableCol::clearPreferredLogicalWidthsDirtyBits()
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 return style()->borderStart(); 194 return style()->borderStart();
195 } 195 }
196 196
197 const BorderValue& LayoutTableCol::borderAdjoiningCellAfter(const LayoutTableCel l* cell) const 197 const BorderValue& LayoutTableCol::borderAdjoiningCellAfter(const LayoutTableCel l* cell) const
198 { 198 {
199 ASSERT_UNUSED(cell, table()->colElementAtAbsoluteColumn(cell->absoluteColumn Index() - 1).innermostColOrColGroup() == this); 199 ASSERT_UNUSED(cell, table()->colElementAtAbsoluteColumn(cell->absoluteColumn Index() - 1).innermostColOrColGroup() == this);
200 return style()->borderEnd(); 200 return style()->borderEnd();
201 } 201 }
202 202
203 } // namespace blink 203 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698