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

Unified Diff: sky/engine/core/rendering/RenderObject.cpp

Issue 867653005: Remove outline painting on inlines. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/rendering/RenderObject.cpp
diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
index 2d012b22fe8db9ee211f2173e3a45774a07462d9..af99de05719d7018247bdf4103793d6e7dc61fa8 100644
--- a/sky/engine/core/rendering/RenderObject.cpp
+++ b/sky/engine/core/rendering/RenderObject.cpp
@@ -1015,22 +1015,6 @@ IntRect RenderObject::absoluteBoundingBoxRect() const
return result;
}
-IntRect RenderObject::absoluteBoundingBoxRectIgnoringTransforms() const
-{
- FloatPoint absPos = localToAbsolute();
- Vector<IntRect> rects;
- absoluteRects(rects, flooredLayoutPoint(absPos));
-
- size_t n = rects.size();
- if (!n)
- return IntRect();
-
- LayoutRect result = rects[0];
- for (size_t i = 1; i < n; ++i)
- result.unite(rects[i]);
- return pixelSnappedIntRect(result);
-}
-
void RenderObject::absoluteFocusRingQuads(Vector<FloatQuad>& quads)
{
Vector<IntRect> rects;

Powered by Google App Engine
This is Rietveld 408576698