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

Unified Diff: Source/platform/graphics/paint/DisplayItem.h

Issue 1294233004: Subtree caching implementation in blink-core (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add a complex-subtree-update test Created 5 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/platform/graphics/paint/DisplayItem.h
diff --git a/Source/platform/graphics/paint/DisplayItem.h b/Source/platform/graphics/paint/DisplayItem.h
index d3efa09053b7eefcdac06b62c2530cae3e53a8ff..9a65945aef3b78a1f553ab95ff80b8e3df375c75 100644
--- a/Source/platform/graphics/paint/DisplayItem.h
+++ b/Source/platform/graphics/paint/DisplayItem.h
@@ -221,9 +221,6 @@ public:
bool matches(const DisplayItem& item) const
{
- // We should always convert to non-cached types before matching.
- ASSERT(!isCachedType(item.m_type));
- ASSERT(!isCachedType(type));
return client == item.m_client
&& type == item.m_type
&& scope == item.m_scope;

Powered by Google App Engine
This is Rietveld 408576698