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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h

Issue 2385123003: Rewrap comments to 80 columns in Source/platform/graphics/paint/. (Closed)
Patch Set: Resync Created 4 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
Index: third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
index 62cb5d271bf66d9b206742a4287b830a480765a5..55744194a91b3367c6812cd7113b299199b41e51 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h
@@ -40,16 +40,16 @@ class PLATFORM_EXPORT BeginFilterDisplayItem final
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
bool equals(const DisplayItem& other) const final {
- return DisplayItem::equals(other)
- // TODO(wangxianzhu): compare m_imageFilter and m_webFilterOperations.
- &&
- m_bounds ==
- static_cast<const BeginFilterDisplayItem&>(other).m_bounds &&
- m_origin ==
- static_cast<const BeginFilterDisplayItem&>(other).m_origin;
+ // TODO(wangxianzhu): compare m_imageFilter and m_webFilterOperations.
+ const auto& other_display_item =
+ static_cast<const BeginFilterDisplayItem&>(other);
+ return DisplayItem::equals(other) &&
+ m_bounds == other_display_item.m_bounds &&
+ m_origin == other_display_item.m_origin;
}
- // FIXME: m_imageFilter should be replaced with m_webFilterOperations when copying data to the compositor.
+ // FIXME: m_imageFilter should be replaced with m_webFilterOperations when
+ // copying data to the compositor.
sk_sp<SkImageFilter> m_imageFilter;
CompositorFilterOperations m_compositorFilterOperations;
const FloatRect m_bounds;

Powered by Google App Engine
This is Rietveld 408576698