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

Side by Side Diff: Source/core/rendering/RenderRegion.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderProgress.cpp ('k') | Source/core/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderProgress.cpp ('k') | Source/core/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698