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

Unified Diff: Source/core/layout/LayoutRuby.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutRuby.cpp
diff --git a/Source/core/layout/LayoutRuby.cpp b/Source/core/layout/LayoutRuby.cpp
index 69dae1fc0c021aeae757913a5a9abf0e335e3014..5b59ab91bb182e8c5a96c0a367a3250a9399dcaf 100644
--- a/Source/core/layout/LayoutRuby.cpp
+++ b/Source/core/layout/LayoutRuby.cpp
@@ -34,7 +34,7 @@
#include "core/frame/UseCounter.h"
#include "core/layout/LayoutRubyRun.h"
-#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/style/ComputedStyle.h"
#include "wtf/RefPtr.h"
namespace blink {
@@ -85,7 +85,7 @@ static inline LayoutBlock* rubyAfterBlock(const LayoutObject* ruby)
static LayoutBlockFlow* createAnonymousRubyInlineBlock(LayoutObject* ruby)
{
- RefPtr<LayoutStyle> newStyle = LayoutStyle::createAnonymousStyleWithDisplay(ruby->styleRef(), INLINE_BLOCK);
+ RefPtr<ComputedStyle> newStyle = ComputedStyle::createAnonymousStyleWithDisplay(ruby->styleRef(), INLINE_BLOCK);
LayoutBlockFlow* newBlock = LayoutBlockFlow::createAnonymous(&ruby->document());
newBlock->setStyle(newStyle.release());
return newBlock;
@@ -119,7 +119,7 @@ LayoutRubyAsInline::~LayoutRubyAsInline()
{
}
-void LayoutRubyAsInline::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutRubyAsInline::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
LayoutInline::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
@@ -228,7 +228,7 @@ LayoutRubyAsBlock::~LayoutRubyAsBlock()
{
}
-void LayoutRubyAsBlock::styleDidChange(StyleDifference diff, const LayoutStyle* oldStyle)
+void LayoutRubyAsBlock::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle)
{
LayoutBlockFlow::styleDidChange(diff, oldStyle);
propagateStyleToAnonymousChildren();
« no previous file with comments | « Source/core/layout/LayoutRuby.h ('k') | Source/core/layout/LayoutRubyBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698