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

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, 5 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/core/rendering/RenderBlock.cpp
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp
index 85de3e03ef9f870031bde5a69df2e460c91f6c78..79eef6acfbfdb5863de7a8414b7c0379bcbf40c7 100644
--- a/Source/core/rendering/RenderBlock.cpp
+++ b/Source/core/rendering/RenderBlock.cpp
@@ -52,7 +52,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"
@@ -3578,7 +3577,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
This is Rietveld 408576698