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

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

Issue 468343002: Rename repaint to paintInvalidation in core/rendering/compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix invalidator spelling Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | Source/core/rendering/RenderLayerRepainter.h » ('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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 1287
1288 return oldChild; 1288 return oldChild;
1289 } 1289 }
1290 1290
1291 void RenderLayer::removeOnlyThisLayer() 1291 void RenderLayer::removeOnlyThisLayer()
1292 { 1292 {
1293 if (!m_parent) 1293 if (!m_parent)
1294 return; 1294 return;
1295 1295
1296 m_clipper.clearClipRectsIncludingDescendants(); 1296 m_clipper.clearClipRectsIncludingDescendants();
1297 repainter().repaintIncludingNonCompositingDescendants(); 1297 paintInvalidator().paintInvalidationIncludingNonCompositingDescendants();
1298 1298
1299 RenderLayer* nextSib = nextSibling(); 1299 RenderLayer* nextSib = nextSibling();
1300 1300
1301 // Remove the child reflection layer before moving other child layers. 1301 // Remove the child reflection layer before moving other child layers.
1302 // The reflection layer should not be moved to the parent. 1302 // The reflection layer should not be moved to the parent.
1303 if (m_reflectionInfo) 1303 if (m_reflectionInfo)
1304 removeChild(m_reflectionInfo->reflectionLayer()); 1304 removeChild(m_reflectionInfo->reflectionLayer());
1305 1305
1306 // Now walk our kids and reattach them to our parent. 1306 // Now walk our kids and reattach them to our parent.
1307 RenderLayer* current = m_first; 1307 RenderLayer* current = m_first;
(...skipping 2378 matching lines...) Expand 10 before | Expand all | Expand 10 after
3686 } 3686 }
3687 } 3687 }
3688 3688
3689 void showLayerTree(const blink::RenderObject* renderer) 3689 void showLayerTree(const blink::RenderObject* renderer)
3690 { 3690 {
3691 if (!renderer) 3691 if (!renderer)
3692 return; 3692 return;
3693 showLayerTree(renderer->enclosingLayer()); 3693 showLayerTree(renderer->enclosingLayer());
3694 } 3694 }
3695 #endif 3695 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderLayer.h ('k') | Source/core/rendering/RenderLayerRepainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698