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

Side by Side Diff: sky/engine/core/rendering/RenderLayer.cpp

Issue 823123003: Delete PaintInvalidationState. It's unused. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: proper diff Created 5 years, 11 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 | « sky/engine/core/rendering/RenderLayer.h ('k') | sky/engine/core/rendering/RenderObject.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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 const RenderLayer* layer = (includeSelf == IncludeSelf) ? this : parent(); 272 const RenderLayer* layer = (includeSelf == IncludeSelf) ? this : parent();
273 while (layer) { 273 while (layer) {
274 if (layer->renderer()->hasOverflowClip()) 274 if (layer->renderer()->hasOverflowClip())
275 return const_cast<RenderLayer*>(layer); 275 return const_cast<RenderLayer*>(layer);
276 276
277 layer = layer->parent(); 277 layer = layer->parent();
278 } 278 }
279 return 0; 279 return 0;
280 } 280 }
281 281
282 LayoutPoint RenderLayer::positionFromPaintInvalidationContainer(const RenderObje ct* renderObject, const RenderLayerModelObject* paintInvalidationContainer, cons t PaintInvalidationState* paintInvalidationState)
283 {
284 // FIXME(sky): Remove
285 return renderObject->positionFromPaintInvalidationContainer(paintInvalidatio nContainer, paintInvalidationState);
286 }
287
288 void RenderLayer::dirty3DTransformedDescendantStatus() 282 void RenderLayer::dirty3DTransformedDescendantStatus()
289 { 283 {
290 RenderLayerStackingNode* stackingNode = m_stackingNode->ancestorStackingCont extNode(); 284 RenderLayerStackingNode* stackingNode = m_stackingNode->ancestorStackingCont extNode();
291 if (!stackingNode) 285 if (!stackingNode)
292 return; 286 return;
293 287
294 stackingNode->layer()->m_3DTransformedDescendantStatusDirty = true; 288 stackingNode->layer()->m_3DTransformedDescendantStatusDirty = true;
295 289
296 // This propagates up through preserve-3d hierarchies to the enclosing flatt ening layer. 290 // This propagates up through preserve-3d hierarchies to the enclosing flatt ening layer.
297 // Note that preserves3D() creates stacking context, so we can just run up t he stacking containers. 291 // Note that preserves3D() creates stacking context, so we can just run up t he stacking containers.
(...skipping 1675 matching lines...) Expand 10 before | Expand all | Expand 10 after
1973 } 1967 }
1974 } 1968 }
1975 1969
1976 void showLayerTree(const blink::RenderObject* renderer) 1970 void showLayerTree(const blink::RenderObject* renderer)
1977 { 1971 {
1978 if (!renderer) 1972 if (!renderer)
1979 return; 1973 return;
1980 showLayerTree(renderer->enclosingLayer()); 1974 showLayerTree(renderer->enclosingLayer());
1981 } 1975 }
1982 #endif 1976 #endif
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayer.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698