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

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

Issue 23146007: Implement setter/getter for PaintInfo::outlineObjects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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 | « no previous file | Source/core/rendering/PaintInfo.h » ('j') | Source/core/rendering/PaintInfo.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/InlineFlowBox.cpp
diff --git a/Source/core/rendering/InlineFlowBox.cpp b/Source/core/rendering/InlineFlowBox.cpp
index e9890ff8ddb52976b7ed173ce555d5e3630272db..dc5059527b1340c76e6e80a9f273a02f8f49a232 100644
--- a/Source/core/rendering/InlineFlowBox.cpp
+++ b/Source/core/rendering/InlineFlowBox.cpp
@@ -1105,8 +1105,9 @@ void InlineFlowBox::paint(PaintInfo& paintInfo, const LayoutPoint& paintOffset,
// Add ourselves to the containing block of the entire continuation so that it can
// paint us atomically.
cb->addContinuationWithOutline(toRenderInline(renderer()->node()->renderer()));
- } else if (!inlineFlow->isInlineElementContinuation())
- paintInfo.outlineObjects->add(inlineFlow);
+ } else if (!inlineFlow->isInlineElementContinuation()) {
+ paintInfo.outlineObjects()->add(inlineFlow);
+ }
}
} else if (paintInfo.phase == PaintPhaseMask) {
paintMask(paintInfo, paintOffset);
« no previous file with comments | « no previous file | Source/core/rendering/PaintInfo.h » ('j') | Source/core/rendering/PaintInfo.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698