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

Unified Diff: sky/engine/core/rendering/RenderObject.h

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: make p default to display: paragraph 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/rendering/RenderObject.h
diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h
index d251f74b85853729107f1dd5727f1f43f7d36247..6d79f4d9655d885100b3cca9baeb78e14da6fb50 100644
--- a/sky/engine/core/rendering/RenderObject.h
+++ b/sky/engine/core/rendering/RenderObject.h
@@ -296,14 +296,9 @@ public:
return !isFlexibleBox();
}
- bool isAnonymous() const { return m_bitfields.isAnonymous(); }
- bool isAnonymousBlock() const
- {
- // This function is kept in sync with anonymous block creation conditions in
- // RenderBlock::createAnonymousBlock(). This includes creating an anonymous
- // RenderBlock having a BLOCK or BOX display. See https://bugs.webkit.org/show_bug.cgi?id=56709.
- return isAnonymous() && style()->display() == PARAGRAPH;
- }
+ // FIXME(sky): Remove.
+ bool isAnonymous() const { return false; }
+ bool isAnonymousBlock() const { return false; }
bool isOutOfFlowPositioned() const { return m_bitfields.isOutOfFlowPositioned(); } // absolute or fixed positioning
bool isPositioned() const { return m_bitfields.isPositioned(); }
@@ -629,8 +624,6 @@ protected:
// Overrides should call the superclass at the start. |oldStyle| will be 0 the first
// time this function is called.
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle);
- void propagateStyleToAnonymousChildren(bool blockChildrenOnly = false);
- void updateAnonymousChildStyle(const RenderObject* child, RenderStyle* style) const { }
void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide,
Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false);
« no previous file with comments | « sky/engine/core/rendering/RenderBlock.cpp ('k') | sky/engine/core/rendering/RenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698