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

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

Issue 711493004: Remove unnecessary paintContainer parameter from addFocusRingRects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/paint/ObjectPainter.cpp
diff --git a/Source/core/paint/ObjectPainter.cpp b/Source/core/paint/ObjectPainter.cpp
index 68088aeca94ec2ec144684437dcbd28a5f013605..992e6be68a7157a9d125931855a9140c6cfbec86 100644
--- a/Source/core/paint/ObjectPainter.cpp
+++ b/Source/core/paint/ObjectPainter.cpp
@@ -18,7 +18,7 @@ namespace blink {
void ObjectPainter::paintFocusRing(PaintInfo& paintInfo, const LayoutPoint& paintOffset, RenderStyle* style)
{
Vector<LayoutRect> focusRingRects;
- m_renderObject.addFocusRingRects(focusRingRects, paintOffset, paintInfo.paintContainer());
+ m_renderObject.addFocusRingRects(focusRingRects, paintOffset);
ASSERT(style->outlineStyleIsAuto());
Vector<IntRect> focusRingIntRects;
for (size_t i = 0; i < focusRingRects.size(); ++i)
« no previous file with comments | « no previous file | Source/core/rendering/RenderBlock.h » ('j') | Source/core/rendering/RenderLayerModelObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698