| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 void RenderScrollbarPart::computePreferredLogicalWidths() | 133 void RenderScrollbarPart::computePreferredLogicalWidths() |
| 134 { | 134 { |
| 135 if (!preferredLogicalWidthsDirty()) | 135 if (!preferredLogicalWidthsDirty()) |
| 136 return; | 136 return; |
| 137 | 137 |
| 138 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = 0; | 138 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = 0; |
| 139 | 139 |
| 140 clearPreferredLogicalWidthsDirty(); | 140 clearPreferredLogicalWidthsDirty(); |
| 141 } | 141 } |
| 142 | 142 |
| 143 void RenderScrollbarPart::styleWillChange(StyleDifference diff, const RenderStyl
e* newStyle) | 143 void RenderScrollbarPart::styleWillChange(StyleDifference diff, const RenderStyl
e& newStyle) |
| 144 { | 144 { |
| 145 RenderBlock::styleWillChange(diff, newStyle); | 145 RenderBlock::styleWillChange(diff, newStyle); |
| 146 setInline(false); | 146 setInline(false); |
| 147 } | 147 } |
| 148 | 148 |
| 149 void RenderScrollbarPart::styleDidChange(StyleDifference diff, const RenderStyle
* oldStyle) | 149 void RenderScrollbarPart::styleDidChange(StyleDifference diff, const RenderStyle
* oldStyle) |
| 150 { | 150 { |
| 151 RenderBlock::styleDidChange(diff, oldStyle); | 151 RenderBlock::styleDidChange(diff, oldStyle); |
| 152 setInline(false); | 152 setInline(false); |
| 153 clearPositionedState(); | 153 clearPositionedState(); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 } | 197 } |
| 198 | 198 |
| 199 RenderObject* RenderScrollbarPart::rendererOwningScrollbar() const | 199 RenderObject* RenderScrollbarPart::rendererOwningScrollbar() const |
| 200 { | 200 { |
| 201 if (!m_scrollbar) | 201 if (!m_scrollbar) |
| 202 return 0; | 202 return 0; |
| 203 return m_scrollbar->owningRenderer(); | 203 return m_scrollbar->owningRenderer(); |
| 204 } | 204 } |
| 205 | 205 |
| 206 } | 206 } |
| OLD | NEW |