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

Unified Diff: cc/ScrollbarLayerChromium.cpp

Issue 10915298: Add CCDelegatingRenderer, and corresponding IPCs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix clang Created 8 years, 2 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
« no previous file with comments | « cc/DelegatedRendererLayerChromium.cpp ('k') | cc/TiledLayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « cc/DelegatedRendererLayerChromium.cpp ('k') | cc/TiledLayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698