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

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

Issue 208203002: Don't rely on values computed as a side effect of paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/RenderLayer.cpp
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp
index c47be6490ca11ad4b7035a408ddf811fd9988690..0d153799f3021709aeed60dc6c3ab8fa48de5afe 100644
--- a/Source/core/rendering/RenderLayer.cpp
+++ b/Source/core/rendering/RenderLayer.cpp
@@ -3271,11 +3271,6 @@ void RenderLayer::repaintBlockSelectionGaps()
renderer()->repaintRectangle(rect);
}
-bool RenderLayer::hasBlockSelectionGapBounds() const
-{
- return !m_blockSelectionGapsBounds.isEmpty();
-}
-
bool RenderLayer::intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const RenderLayer* rootLayer, const LayoutPoint* offsetFromRoot) const
{
// Always examine the canvas and the root.

Powered by Google App Engine
This is Rietveld 408576698