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

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

Issue 498193003: Add |GraphicsLayerDebugInfo::getAnnotatedInvalidationRects| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add missing files Created 6 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
Index: Source/core/rendering/RenderLayerScrollableArea.cpp
diff --git a/Source/core/rendering/RenderLayerScrollableArea.cpp b/Source/core/rendering/RenderLayerScrollableArea.cpp
index d1caf1c5b142e0f294191bb5b73165c4550aae8f..95471d93f968ce2b27424d6370cdbf2448dd9e86 100644
--- a/Source/core/rendering/RenderLayerScrollableArea.cpp
+++ b/Source/core/rendering/RenderLayerScrollableArea.cpp
@@ -186,12 +186,12 @@ void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, co
if (scrollbar == m_vBar.get()) {
if (GraphicsLayer* layer = layerForVerticalScrollbar()) {
- layer->setNeedsDisplayInRect(rect);
+ layer->setNeedsDisplayInRect(rect, WebInvalidationDebugAnnotationsScrollbar);
return;
}
} else {
if (GraphicsLayer* layer = layerForHorizontalScrollbar()) {
- layer->setNeedsDisplayInRect(rect);
+ layer->setNeedsDisplayInRect(rect, WebInvalidationDebugAnnotationsScrollbar);
return;
}
}
@@ -223,7 +223,7 @@ void RenderLayerScrollableArea::invalidateScrollbarRect(Scrollbar* scrollbar, co
void RenderLayerScrollableArea::invalidateScrollCornerRect(const IntRect& rect)
{
if (GraphicsLayer* layer = layerForScrollCorner()) {
- layer->setNeedsDisplayInRect(rect);
+ layer->setNeedsDisplayInRect(rect, WebInvalidationDebugAnnotationsScrollbar);
return;
}

Powered by Google App Engine
This is Rietveld 408576698