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

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

Issue 16688004: Large canvas does not honor containing div's border radius (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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) 2009, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2009, 2010 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 2113 matching lines...) Expand 10 before | Expand all | Expand 10 after
2124 graphicsLayer->resetTrackedRepaints(); 2124 graphicsLayer->resetTrackedRepaints();
2125 2125
2126 for (size_t i = 0; i < graphicsLayer->children().size(); ++i) 2126 for (size_t i = 0; i < graphicsLayer->children().size(); ++i)
2127 resetTrackedRepaintRectsRecursive(graphicsLayer->children()[i]); 2127 resetTrackedRepaintRectsRecursive(graphicsLayer->children()[i]);
2128 2128
2129 if (GraphicsLayer* replicaLayer = graphicsLayer->replicaLayer()) 2129 if (GraphicsLayer* replicaLayer = graphicsLayer->replicaLayer())
2130 resetTrackedRepaintRectsRecursive(replicaLayer); 2130 resetTrackedRepaintRectsRecursive(replicaLayer);
2131 2131
2132 if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer()) 2132 if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer())
2133 resetTrackedRepaintRectsRecursive(maskLayer); 2133 resetTrackedRepaintRectsRecursive(maskLayer);
2134
2135 if (GraphicsLayer* borderRadiusLayer = graphicsLayer->borderRadiusLayer())
2136 resetTrackedRepaintRectsRecursive(borderRadiusLayer);
2134 } 2137 }
2135 2138
2136 void RenderLayerCompositor::resetTrackedRepaintRects() 2139 void RenderLayerCompositor::resetTrackedRepaintRects()
2137 { 2140 {
2138 if (GraphicsLayer* rootLayer = rootGraphicsLayer()) 2141 if (GraphicsLayer* rootLayer = rootGraphicsLayer())
2139 resetTrackedRepaintRectsRecursive(rootLayer); 2142 resetTrackedRepaintRectsRecursive(rootLayer);
2140 } 2143 }
2141 2144
2142 void RenderLayerCompositor::setTracksRepaints(bool tracksRepaints) 2145 void RenderLayerCompositor::setTracksRepaints(bool tracksRepaints)
2143 { 2146 {
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 info.addMember(m_layerForScrollCorner, "layerForScrollCorner"); 2755 info.addMember(m_layerForScrollCorner, "layerForScrollCorner");
2753 #if ENABLE(RUBBER_BANDING) 2756 #if ENABLE(RUBBER_BANDING)
2754 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas"); 2757 info.addMember(m_layerForOverhangAreas, "layerForOverhangAreas");
2755 info.addMember(m_contentShadowLayer, "contentShadowLayer"); 2758 info.addMember(m_contentShadowLayer, "contentShadowLayer");
2756 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea"); 2759 info.addMember(m_layerForTopOverhangArea, "layerForTopOverhangArea");
2757 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea"); 2760 info.addMember(m_layerForBottomOverhangArea, "layerForBottomOverhangArea");
2758 #endif 2761 #endif
2759 } 2762 }
2760 2763
2761 } // namespace WebCore 2764 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698