| OLD | NEW |
| 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 Loading... |
| 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->contentsClippingMaskLayer(), 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 |
| OLD | NEW |