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

Unified Diff: Source/platform/graphics/paint/DisplayItemList.cpp

Issue 1185913002: Skip caching in all scopes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/platform/graphics/paint/DisplayItemList.cpp
diff --git a/Source/platform/graphics/paint/DisplayItemList.cpp b/Source/platform/graphics/paint/DisplayItemList.cpp
index f5782e990fc17e22d7e54464599c6c4d5d24fa20..68e76d7db542b7b3596555240edec895e0361ddc 100644
--- a/Source/platform/graphics/paint/DisplayItemList.cpp
+++ b/Source/platform/graphics/paint/DisplayItemList.cpp
@@ -91,11 +91,13 @@ void DisplayItemList::beginScope(DisplayItemClient client)
scopeId = ++it->value;
}
m_scopeStack.append(Scope(client, scopeId));
+ beginSkippingCache();
}
void DisplayItemList::endScope(DisplayItemClient client)
{
m_scopeStack.removeLast();
+ endSkippingCache();
}
void DisplayItemList::invalidate(DisplayItemClient client)

Powered by Google App Engine
This is Rietveld 408576698