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

Unified Diff: Source/core/rendering/RenderDeprecatedFlexibleBox.h

Issue 363343005: Remove support for anonymous deprecated flexboxes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderDeprecatedFlexibleBox.h
diff --git a/Source/core/rendering/RenderDeprecatedFlexibleBox.h b/Source/core/rendering/RenderDeprecatedFlexibleBox.h
index bd147315dbd584b5ac31bb1d7f19d873c144aff3..a9b71e1d73ff5b5f25b8733108e46926320306bb 100644
--- a/Source/core/rendering/RenderDeprecatedFlexibleBox.h
+++ b/Source/core/rendering/RenderDeprecatedFlexibleBox.h
@@ -31,11 +31,9 @@ class FlexBoxIterator;
class RenderDeprecatedFlexibleBox FINAL : public RenderBlock {
public:
- RenderDeprecatedFlexibleBox(Element*);
+ RenderDeprecatedFlexibleBox(Element&);
virtual ~RenderDeprecatedFlexibleBox();
- static RenderDeprecatedFlexibleBox* createAnonymous(Document*);
-
virtual const char* renderName() const OVERRIDE;
virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) OVERRIDE;
@@ -50,7 +48,7 @@ public:
void placeChild(RenderBox* child, const LayoutPoint& location);
-protected:
+private:
virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE;
virtual void computePreferredLogicalWidths() OVERRIDE;
@@ -60,11 +58,10 @@ protected:
bool isVertical() const { return style()->boxOrient() == VERTICAL; }
bool isHorizontal() const { return style()->boxOrient() == HORIZONTAL; }
- bool m_stretchingChildren;
-
-private:
void applyLineClamp(FlexBoxIterator&, bool relayoutChildren);
void clearLineClamp();
+
+ bool m_stretchingChildren;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderDeprecatedFlexibleBox, isDeprecatedFlexibleBox());
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderDeprecatedFlexibleBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698