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

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

Issue 953673002: Delete RenderLayerModelObject. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 RenderLayerStackingNode* RenderLayerStackingNode::ancestorStackingContextNode() const 256 RenderLayerStackingNode* RenderLayerStackingNode::ancestorStackingContextNode() const
257 { 257 {
258 for (RenderLayer* ancestor = layer()->parent(); ancestor; ancestor = ancesto r->parent()) { 258 for (RenderLayer* ancestor = layer()->parent(); ancestor; ancestor = ancesto r->parent()) {
259 RenderLayerStackingNode* stackingNode = ancestor->stackingNode(); 259 RenderLayerStackingNode* stackingNode = ancestor->stackingNode();
260 if (stackingNode->isStackingContext()) 260 if (stackingNode->isStackingContext())
261 return stackingNode; 261 return stackingNode;
262 } 262 }
263 return 0; 263 return 0;
264 } 264 }
265 265
266 RenderLayerModelObject* RenderLayerStackingNode::renderer() const 266 RenderBox* RenderLayerStackingNode::renderer() const
267 { 267 {
268 return m_layer->renderer(); 268 return m_layer->renderer();
269 } 269 }
270 270
271 } // namespace blink 271 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/RenderLayerStackingNode.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698