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

Unified Diff: Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp

Issue 10383285: Merge 116174 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 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
Index: Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
===================================================================
--- Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp (revision 118007)
+++ Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp (working copy)
@@ -51,9 +51,7 @@
RenderMathMLBlock* RenderMathMLBlock::createAlmostAnonymousBlock(EDisplay display)
{
- RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyle(style());
- newStyle->setDisplay(display);
-
+ RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(style(), display);
RenderMathMLBlock* newBlock = new (renderArena()) RenderMathMLBlock(node() /* "almost" anonymous block */);
newBlock->setStyle(newStyle.release());
return newBlock;
« no previous file with comments | « Source/WebCore/rendering/RenderTableSection.cpp ('k') | Source/WebCore/rendering/mathml/RenderMathMLRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698