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

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: Replaced explicit baselines with NeedsRebaseline Created 7 years, 3 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
« no previous file with comments | « Source/core/rendering/RenderLayerBacking.cpp ('k') | Source/core/rendering/RenderReplaced.cpp » ('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) 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 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after
2307 graphicsLayer->resetTrackedRepaints(); 2307 graphicsLayer->resetTrackedRepaints();
2308 2308
2309 for (size_t i = 0; i < graphicsLayer->children().size(); ++i) 2309 for (size_t i = 0; i < graphicsLayer->children().size(); ++i)
2310 resetTrackedRepaintRectsRecursive(graphicsLayer->children()[i]); 2310 resetTrackedRepaintRectsRecursive(graphicsLayer->children()[i]);
2311 2311
2312 if (GraphicsLayer* replicaLayer = graphicsLayer->replicaLayer()) 2312 if (GraphicsLayer* replicaLayer = graphicsLayer->replicaLayer())
2313 resetTrackedRepaintRectsRecursive(replicaLayer); 2313 resetTrackedRepaintRectsRecursive(replicaLayer);
2314 2314
2315 if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer()) 2315 if (GraphicsLayer* maskLayer = graphicsLayer->maskLayer())
2316 resetTrackedRepaintRectsRecursive(maskLayer); 2316 resetTrackedRepaintRectsRecursive(maskLayer);
2317
2318 if (GraphicsLayer* clippingMaskLayer = graphicsLayer->contentsClippingMaskLa yer())
2319 resetTrackedRepaintRectsRecursive(clippingMaskLayer);
2317 } 2320 }
2318 2321
2319 void RenderLayerCompositor::resetTrackedRepaintRects() 2322 void RenderLayerCompositor::resetTrackedRepaintRects()
2320 { 2323 {
2321 if (GraphicsLayer* rootLayer = rootGraphicsLayer()) 2324 if (GraphicsLayer* rootLayer = rootGraphicsLayer())
2322 resetTrackedRepaintRectsRecursive(rootLayer); 2325 resetTrackedRepaintRectsRecursive(rootLayer);
2323 } 2326 }
2324 2327
2325 void RenderLayerCompositor::setTracksRepaints(bool tracksRepaints) 2328 void RenderLayerCompositor::setTracksRepaints(bool tracksRepaints)
2326 { 2329 {
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
2834 } else if (graphicsLayer == m_scrollLayer.get()) { 2837 } else if (graphicsLayer == m_scrollLayer.get()) {
2835 name = "Frame Scrolling Layer"; 2838 name = "Frame Scrolling Layer";
2836 } else { 2839 } else {
2837 ASSERT_NOT_REACHED(); 2840 ASSERT_NOT_REACHED();
2838 } 2841 }
2839 2842
2840 return name; 2843 return name;
2841 } 2844 }
2842 2845
2843 } // namespace WebCore 2846 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayerBacking.cpp ('k') | Source/core/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698