Addressing post-review comments in r185756.
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 20:31:10 +0000 (20:31 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 20:31:10 +0000 (20:31 +0000)
* html/RubyTextElement.cpp:
(WebCore::RubyTextElement::createElementRenderer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186129 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/html/RubyTextElement.cpp

index 211fe9de8e09cba465dcbff8e5d7ff80ceba440c..b8270b30ab3a66ec0f65c856044d352b5cf5e464 100644 (file)
@@ -1,3 +1,10 @@
+2015-06-30  Zalan Bujtas  <zalan@apple.com>
+
+        Addressing post-review comments in r185756.
+
+        * html/RubyTextElement.cpp:
+        (WebCore::RubyTextElement::createElementRenderer):
+
 2015-06-30  Zalan Bujtas  <zalan@apple.com>
 
         Addressing post-review comments in r185916
index b7924c71c3d2f39159a62c9c92e9b0115a94bcb9..c878b211cb636e72f28782949249b56ebdf2c8a7 100644 (file)
@@ -48,7 +48,7 @@ Ref<RubyTextElement> RubyTextElement::create(const QualifiedName& tagName, Docum
 RenderPtr<RenderElement> RubyTextElement::createElementRenderer(Ref<RenderStyle>&& style, const RenderTreePosition& insertionPosition)
 {
     // RenderRubyText requires its parent to be RenderRubyRun.
-    if (isRuby(insertionPosition.parent()) && style.get().display() == BLOCK)
+    if (isRuby(insertionPosition.parent()) && style->display() == BLOCK)
         return createRenderer<RenderRubyText>(*this, WTF::move(style));
     return HTMLElement::createElementRenderer(WTF::move(style), insertionPosition);
 }