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

Unified Diff: Source/core/layout/LayoutObject.h

Issue 1181983002: Ensure that positioned objects' list is always in parent first order (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More comprehensive test cases Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/LayoutObject.h
diff --git a/Source/core/layout/LayoutObject.h b/Source/core/layout/LayoutObject.h
index cb1c712f132fe869ae6f4793e744140162dd40c2..81b43ec2130c559bc7b500536b97be217c629c41 100644
--- a/Source/core/layout/LayoutObject.h
+++ b/Source/core/layout/LayoutObject.h
@@ -738,7 +738,7 @@ public:
void setStyleInternal(PassRefPtr<ComputedStyle> style) { m_style = style; }
// returns the containing block level element for this element.
- LayoutBlock* containingBlock() const;
+ LayoutBlock* containingBlock(const ComputedStyle* overrideStyle = nullptr) const;
bool canContainFixedPositionObjects() const
{

Powered by Google App Engine
This is Rietveld 408576698