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

Unified Diff: Source/WebCore/rendering/RenderRubyRun.cpp

Issue 10262008: Merge 114666 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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/WebCore/css/CSSStyleSelector.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderRubyRun.cpp
===================================================================
--- Source/WebCore/rendering/RenderRubyRun.cpp (revision 115608)
+++ Source/WebCore/rendering/RenderRubyRun.cpp (working copy)
@@ -74,6 +74,9 @@
RenderRubyText* RenderRubyRun::rubyText() const
{
RenderObject* child = firstChild();
+ // If in future it becomes necessary to support floating or positioned ruby text,
+ // layout will have to be changed to handle them properly.
+ ASSERT(!child || !child->isRubyText() || !child->isFloatingOrPositioned());
return child && child->isRubyText() ? static_cast<RenderRubyText*>(child) : 0;
}
« no previous file with comments | « Source/WebCore/css/CSSStyleSelector.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698