Chromium Code Reviews

Unified Diff: Source/core/rendering/RenderBlock.cpp

Issue 394773003: Implement HTMLMarqueeElement's animation in private scripts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/rendering/RenderBlock.cpp
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
index b434cfe34bd3f30e60614cca9199fcc96fc749b1..b3fd8b4629a540f2956ddbd5c51c6b87a2e41a50 100644
--- a/Source/core/rendering/RenderBlock.cpp
+++ b/Source/core/rendering/RenderBlock.cpp
@@ -53,7 +53,6 @@
#include "core/rendering/RenderGrid.h"
#include "core/rendering/RenderInline.h"
#include "core/rendering/RenderLayer.h"
-#include "core/rendering/RenderMarquee.h"
#include "core/rendering/RenderObjectInlines.h"
#include "core/rendering/RenderRegion.h"
#include "core/rendering/RenderTableCell.h"
@@ -3163,7 +3162,7 @@ void RenderBlock::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, Lay
adjustIntrinsicLogicalWidthsForColumns(minLogicalWidth, maxLogicalWidth);
// A horizontal marquee with inline children has no minimum width.
- if (childrenInline() && isMarquee() && toRenderMarquee(this)->isHorizontal())
+ if (childrenInline())
minLogicalWidth = 0;
if (isTableCell()) {

Powered by Google App Engine