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: third_party/WebKit/Source/core/paint/PaintLayerStackingNode.cpp

Issue 1528323002: Include <algorithm> if you use functions from <algorithm>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split ui parts into a separate review Created 5 years 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 30 matching lines...) Expand all
41 * version of this file under any of the LGPL, the MPL or the GPL. 41 * version of this file under any of the LGPL, the MPL or the GPL.
42 */ 42 */
43 43
44 #include "config.h" 44 #include "config.h"
45 #include "core/paint/PaintLayerStackingNode.h" 45 #include "core/paint/PaintLayerStackingNode.h"
46 46
47 #include "core/layout/LayoutView.h" 47 #include "core/layout/LayoutView.h"
48 #include "core/layout/compositing/PaintLayerCompositor.h" 48 #include "core/layout/compositing/PaintLayerCompositor.h"
49 #include "core/paint/PaintLayer.h" 49 #include "core/paint/PaintLayer.h"
50 #include "public/platform/Platform.h" 50 #include "public/platform/Platform.h"
51 #include <algorithm>
51 52
52 namespace blink { 53 namespace blink {
53 54
54 // FIXME: This should not require PaintLayer. There is currently a cycle where 55 // FIXME: This should not require PaintLayer. There is currently a cycle where
55 // in order to determine if we shoulBeTreatedAsStackingContext() we have to ask the paint 56 // in order to determine if we shoulBeTreatedAsStackingContext() we have to ask the paint
56 // layer about some of its state. 57 // layer about some of its state.
57 PaintLayerStackingNode::PaintLayerStackingNode(PaintLayer* layer) 58 PaintLayerStackingNode::PaintLayerStackingNode(PaintLayer* layer)
58 : m_layer(layer) 59 : m_layer(layer)
59 #if ENABLE(ASSERT) 60 #if ENABLE(ASSERT)
60 , m_layerListMutationAllowed(true) 61 , m_layerListMutationAllowed(true)
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 } 256 }
256 return 0; 257 return 0;
257 } 258 }
258 259
259 LayoutBoxModelObject* PaintLayerStackingNode::layoutObject() const 260 LayoutBoxModelObject* PaintLayerStackingNode::layoutObject() const
260 { 261 {
261 return m_layer->layoutObject(); 262 return m_layer->layoutObject();
262 } 263 }
263 264
264 } // namespace blink 265 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/GridPainter.cpp ('k') | third_party/WebKit/Source/core/paint/TableSectionPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698