Changeset 175395 in webkit
- Timestamp:
- Oct 30, 2014, 4:26:17 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
rendering/RenderObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r175391 r175395 1 2014-10-30 Simon Fraser <simon.fraser@apple.com> 2 3 Short-circuit repaints with empty rects 4 https://bugs.webkit.org/show_bug.cgi?id=138234 5 6 Reviewed by Zalan Bujtas. 7 8 Repaints with an empty rectangle are common enough that it's worth 9 short-circuiting them. 10 11 * rendering/RenderObject.cpp: 12 (WebCore::RenderObject::repaintUsingContainer): 13 1 14 2014-10-30 Chris Dumez <cdumez@apple.com> 2 15 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r175252 r175395 1233 1233 void RenderObject::repaintUsingContainer(const RenderLayerModelObject* repaintContainer, const LayoutRect& r, bool shouldClipToLayer) const 1234 1234 { 1235 if (r.isEmpty()) 1236 return; 1237 1235 1238 if (!repaintContainer) { 1236 1239 view().repaintViewRectangle(r);
Note:
See TracChangeset
for help on using the changeset viewer.