Index: cc/ScrollbarLayerChromium.cpp |
diff --git a/cc/ScrollbarLayerChromium.cpp b/cc/ScrollbarLayerChromium.cpp |
index f07cc429799c2ce526ae5a9a15effdf323785875..e23f36654c9bfef92b21caf58b2b0faf34f60b72 100644 |
--- a/cc/ScrollbarLayerChromium.cpp |
+++ b/cc/ScrollbarLayerChromium.cpp |
@@ -250,6 +250,11 @@ void ScrollbarLayerChromium::setTexturePriorities(const CCPriorityCalculator&) |
if (contentBounds().isEmpty()) |
return; |
+ if (!m_updateRect.isEmpty() /* && ubercomp */) { |
+ m_backTrack.clear(); |
+ m_foreTrack.clear(); |
+ m_thumb.clear(); |
+ } |
createTextureUpdaterIfNeeded(); |
bool drawsToRoot = !renderTarget()->parent(); |