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

Side by Side Diff: Source/WebKit/chromium/src/painting/ContinuousPainter.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 10 *
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 if (!layer) 42 if (!layer)
43 return; 43 return;
44 44
45 if (pageOverlays && pageOverlays->findGraphicsLayer(layer) != WTF::notFound) 45 if (pageOverlays && pageOverlays->findGraphicsLayer(layer) != WTF::notFound)
46 return; 46 return;
47 47
48 TRACE_EVENT0("webkit", "ContinuousPainter::setNeedsDisplayRecursive"); 48 TRACE_EVENT0("webkit", "ContinuousPainter::setNeedsDisplayRecursive");
49 layer->setNeedsDisplay(); 49 layer->setNeedsDisplay();
50 50
51 setNeedsDisplayRecursive(layer->maskLayer(), pageOverlays); 51 setNeedsDisplayRecursive(layer->maskLayer(), pageOverlays);
52 setNeedsDisplayRecursive(layer->borderRadiusLayer(), pageOverlays);
52 setNeedsDisplayRecursive(layer->replicaLayer(), pageOverlays); 53 setNeedsDisplayRecursive(layer->replicaLayer(), pageOverlays);
53 54
54 const Vector<GraphicsLayer*>& children = layer->children(); 55 const Vector<GraphicsLayer*>& children = layer->children();
55 Vector<GraphicsLayer*>::const_iterator it; 56 Vector<GraphicsLayer*>::const_iterator it;
56 for (it = children.begin(); it != children.end(); ++it) 57 for (it = children.begin(); it != children.end(); ++it)
57 setNeedsDisplayRecursive(*it, pageOverlays); 58 setNeedsDisplayRecursive(*it, pageOverlays);
58 } 59 }
59 60
60 } // namespace WebKit 61 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698