Index: sky/engine/core/rendering/style/RenderStyle.h |
diff --git a/sky/engine/core/rendering/style/RenderStyle.h b/sky/engine/core/rendering/style/RenderStyle.h |
index ae0640f6a027bdb5291774f8763576b7a77a00cd..4bbe1e46b9abd3e5064b4cb9259cc70c195476bc 100644 |
--- a/sky/engine/core/rendering/style/RenderStyle.h |
+++ b/sky/engine/core/rendering/style/RenderStyle.h |
@@ -284,7 +284,6 @@ private: |
public: |
static PassRefPtr<RenderStyle> create(); |
static PassRefPtr<RenderStyle> createDefaultStyle(); |
- static PassRefPtr<RenderStyle> createAnonymousStyleWithDisplay(const RenderStyle* parentStyle, EDisplay); |
static PassRefPtr<RenderStyle> clone(const RenderStyle*); |
// Computes how the style change should be propagated down the tree. |
@@ -1070,7 +1069,7 @@ public: |
bool inheritedNotEqual(const RenderStyle*) const; |
bool inheritedDataShared(const RenderStyle*) const; |
- bool requiresOnlyBlockChildren(); |
+ bool requiresOnlyBlockChildren() const; |
bool isDisplayReplacedType() const { return isDisplayReplacedType(display()); } |
bool isDisplayInlineType() const { return isDisplayInlineType(display()); } |
bool isOriginalDisplayInlineType() const { return isDisplayInlineType(originalDisplay()); } |