Reduce constructor copypasta in RenderText and RenderElement.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 May 2014 06:44:35 +0000 (06:44 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 May 2014 06:44:35 +0000 (06:44 +0000)
commit90dbed91baa89f4477f36a5b29ab2a55c69dde58
treee63a0d4edf899cae5f690e77c45230ee59512010
parent0e0f956b037ace8aa85cb7cd039dfd783d548339
Reduce constructor copypasta in RenderText and RenderElement.
<https://webkit.org/b/133056>

Use delegating constructors to remove duplicated initializer lists
from the constructors of RenderText and RenderElement.

Reviewed by Anders Carlsson.

* rendering/RenderElement.cpp:
(WebCore::RenderElement::RenderElement):
* rendering/RenderElement.h:
* rendering/RenderText.cpp:
(WebCore::RenderText::RenderText):
* rendering/RenderText.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderElement.cpp
Source/WebCore/rendering/RenderElement.h
Source/WebCore/rendering/RenderText.cpp
Source/WebCore/rendering/RenderText.h