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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerStackingNode.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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
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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 updateNormalFlowList(); 268 updateNormalFlowList();
269 269
270 if (!layer()->reflectionInfo()) 270 if (!layer()->reflectionInfo())
271 return; 271 return;
272 272
273 DeprecatedPaintLayer* reflectionLayer = layer()->reflectionInfo()->reflectio nLayer(); 273 DeprecatedPaintLayer* reflectionLayer = layer()->reflectionInfo()->reflectio nLayer();
274 reflectionLayer->stackingNode()->updateZOrderLists(); 274 reflectionLayer->stackingNode()->updateZOrderLists();
275 reflectionLayer->stackingNode()->updateNormalFlowList(); 275 reflectionLayer->stackingNode()->updateNormalFlowList();
276 } 276 }
277 277
278 void DeprecatedPaintLayerStackingNode::updateStackingNodesAfterStyleChange(const LayoutStyle* oldStyle) 278 void DeprecatedPaintLayerStackingNode::updateStackingNodesAfterStyleChange(const ComputedStyle* oldStyle)
279 { 279 {
280 bool wasStackingContext = oldStyle ? !oldStyle->hasAutoZIndex() : false; 280 bool wasStackingContext = oldStyle ? !oldStyle->hasAutoZIndex() : false;
281 int oldZIndex = oldStyle ? oldStyle->zIndex() : 0; 281 int oldZIndex = oldStyle ? oldStyle->zIndex() : 0;
282 282
283 bool isStackingContext = this->isStackingContext(); 283 bool isStackingContext = this->isStackingContext();
284 if (isStackingContext == wasStackingContext && oldZIndex == zIndex()) 284 if (isStackingContext == wasStackingContext && oldZIndex == zIndex())
285 return; 285 return;
286 286
287 dirtyStackingContextZOrderLists(); 287 dirtyStackingContextZOrderLists();
288 288
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 } 320 }
321 return 0; 321 return 0;
322 } 322 }
323 323
324 LayoutBoxModelObject* DeprecatedPaintLayerStackingNode::layoutObject() const 324 LayoutBoxModelObject* DeprecatedPaintLayerStackingNode::layoutObject() const
325 { 325 {
326 return m_layer->layoutObject(); 326 return m_layer->layoutObject();
327 } 327 }
328 328
329 } // namespace blink 329 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerStackingNode.h ('k') | Source/core/paint/EllipsisBoxPainter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698