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

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

Issue 847303003: Delete selection paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 282 LayoutPoint RenderLayer::positionFromPaintInvalidationContainer(const RenderObje ct* renderObject, const RenderLayerModelObject* paintInvalidationContainer, cons t PaintInvalidationState* paintInvalidationState)
283 { 283 {
284 // FIXME(sky): Remove 284 // FIXME(sky): Remove
285 return renderObject->positionFromPaintInvalidationContainer(paintInvalidatio nContainer, paintInvalidationState); 285 return renderObject->positionFromPaintInvalidationContainer(paintInvalidatio nContainer, paintInvalidationState);
286 } 286 }
287 287
288 void RenderLayer::mapRectToPaintInvalidationBacking(const RenderObject* renderOb ject, const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect , const PaintInvalidationState* paintInvalidationState)
289 {
290 // FIXME(sky): Remove
291 renderObject->mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, paintInvalidationState);
292 }
293
294 void RenderLayer::dirty3DTransformedDescendantStatus() 288 void RenderLayer::dirty3DTransformedDescendantStatus()
295 { 289 {
296 RenderLayerStackingNode* stackingNode = m_stackingNode->ancestorStackingCont extNode(); 290 RenderLayerStackingNode* stackingNode = m_stackingNode->ancestorStackingCont extNode();
297 if (!stackingNode) 291 if (!stackingNode)
298 return; 292 return;
299 293
300 stackingNode->layer()->m_3DTransformedDescendantStatusDirty = true; 294 stackingNode->layer()->m_3DTransformedDescendantStatusDirty = true;
301 295
302 // This propagates up through preserve-3d hierarchies to the enclosing flatt ening layer. 296 // This propagates up through preserve-3d hierarchies to the enclosing flatt ening layer.
303 // Note that preserves3D() creates stacking context, so we can just run up t he stacking containers. 297 // 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
1979 } 1973 }
1980 } 1974 }
1981 1975
1982 void showLayerTree(const blink::RenderObject* renderer) 1976 void showLayerTree(const blink::RenderObject* renderer)
1983 { 1977 {
1984 if (!renderer) 1978 if (!renderer)
1985 return; 1979 return;
1986 showLayerTree(renderer->enclosingLayer()); 1980 showLayerTree(renderer->enclosingLayer());
1987 } 1981 }
1988 #endif 1982 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698