| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 if (clippedRect.isEmpty()) | 152 if (clippedRect.isEmpty()) |
| 153 return; | 153 return; |
| 154 | 154 |
| 155 // Put the region rect into the region's physical coordinate space. | 155 // Put the region rect into the region's physical coordinate space. |
| 156 clippedRect.setLocation(regionLocation + (clippedRect.location() - flippedFl
owThreadPortionRect.location())); | 156 clippedRect.setLocation(regionLocation + (clippedRect.location() - flippedFl
owThreadPortionRect.location())); |
| 157 | 157 |
| 158 // Now switch to the region's writing mode coordinate space and let it repai
nt itself. | 158 // Now switch to the region's writing mode coordinate space and let it repai
nt itself. |
| 159 flipForWritingMode(clippedRect); | 159 flipForWritingMode(clippedRect); |
| 160 | 160 |
| 161 // Issue the repaint. | 161 // Issue the repaint. |
| 162 repaintRectangle(clippedRect); | 162 invalidatePaintRectangle(clippedRect); |
| 163 } | 163 } |
| 164 | 164 |
| 165 void RenderRegion::attachRegion() | 165 void RenderRegion::attachRegion() |
| 166 { | 166 { |
| 167 if (documentBeingDestroyed()) | 167 if (documentBeingDestroyed()) |
| 168 return; | 168 return; |
| 169 | 169 |
| 170 // A region starts off invalid. | 170 // A region starts off invalid. |
| 171 setIsValid(false); | 171 setIsValid(false); |
| 172 | 172 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 if (!isValid()) { | 216 if (!isValid()) { |
| 217 RenderBlockFlow::computeIntrinsicLogicalWidths(minLogicalWidth, maxLogic
alWidth); | 217 RenderBlockFlow::computeIntrinsicLogicalWidths(minLogicalWidth, maxLogic
alWidth); |
| 218 return; | 218 return; |
| 219 } | 219 } |
| 220 | 220 |
| 221 minLogicalWidth = m_flowThread->minPreferredLogicalWidth(); | 221 minLogicalWidth = m_flowThread->minPreferredLogicalWidth(); |
| 222 maxLogicalWidth = m_flowThread->maxPreferredLogicalWidth(); | 222 maxLogicalWidth = m_flowThread->maxPreferredLogicalWidth(); |
| 223 } | 223 } |
| 224 | 224 |
| 225 } // namespace WebCore | 225 } // namespace WebCore |
| OLD | NEW |