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

Unified Diff: Source/core/paint/FrameSetPainter.cpp

Issue 1187033004: No need for both isLayoutBoxModelObject() and isBoxModelObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/core/layout/LayoutObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/FrameSetPainter.cpp
diff --git a/Source/core/paint/FrameSetPainter.cpp b/Source/core/paint/FrameSetPainter.cpp
index e61c55d4524873a4ec874a8d5c81584a53810b60..b7ff514e90b2d33f62be619daa9652ef6e1cd1c9 100644
--- a/Source/core/paint/FrameSetPainter.cpp
+++ b/Source/core/paint/FrameSetPainter.cpp
@@ -116,7 +116,7 @@ void FrameSetPainter::paintChildren(const PaintInfo& paintInfo, const LayoutPoin
for (size_t r = 0; r < rows; r++) {
for (size_t c = 0; c < cols; c++) {
// Self-painting layers are painted during the DeprecatedPaintLayer paint recursion, not LayoutObject.
- if (child->isLayoutBoxModelObject() && toLayoutBoxModelObject(child)->hasSelfPaintingLayer())
+ if (child->isBoxModelObject() && toLayoutBoxModelObject(child)->hasSelfPaintingLayer())
continue;
child->paint(paintInfo, adjustedPaintOffset);
child = child->nextSibling();
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698