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

Unified Diff: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h

Issue 2556013002: Fix paint property under-invalidation checking about reference filters (Closed)
Patch Set: Fix paint property under-invalidation checking about reference filters Created 4 years 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: third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
index 57a709523a4664fcebbda275e197673abc490fe2..d1cef2719ae727af2be7873e051045da852ebd22 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
+++ b/third_party/WebKit/Source/platform/graphics/CompositorFilterOperations.h
@@ -40,11 +40,17 @@ class PLATFORM_EXPORT CompositorFilterOperations {
void clear();
bool isEmpty() const;
+ // For reference filters, this equality operator compares pointers of the
+ // image_filter fields instead of their values.
bool operator==(const CompositorFilterOperations&) const;
bool operator!=(const CompositorFilterOperations& o) const {
return !(*this == o);
}
+#if DCHECK_IS_ON()
+ bool equalsIgnoringReferenceFilters(const CompositorFilterOperations&) const;
+#endif
+
private:
cc::FilterOperations m_filterOperations;
};

Powered by Google App Engine
This is Rietveld 408576698