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

Unified Diff: third_party/WebKit/Source/core/style/FillLayer.cpp

Issue 2392143002: reflow comments in core/style (Closed)
Patch Set: . 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/core/style/FillLayer.cpp
diff --git a/third_party/WebKit/Source/core/style/FillLayer.cpp b/third_party/WebKit/Source/core/style/FillLayer.cpp
index 25f7d80d5e60a6f4caf22321efb12129fa35cc90..82d324003fcc2888dee065c9986876c5b155c90b 100644
--- a/third_party/WebKit/Source/core/style/FillLayer.cpp
+++ b/third_party/WebKit/Source/core/style/FillLayer.cpp
@@ -164,8 +164,9 @@ FillLayer& FillLayer::operator=(const FillLayer& o) {
}
bool FillLayer::operator==(const FillLayer& o) const {
- // We do not check the "isSet" booleans for each property, since those are only used during initial construction
- // to propagate patterns into layers. All layer comparisons happen after values have all been filled in anyway.
+ // We do not check the "isSet" booleans for each property, since those are
+ // only used during initial construction to propagate patterns into layers.
+ // All layer comparisons happen after values have all been filled in anyway.
return dataEquivalent(m_image, o.m_image) && m_xPosition == o.m_xPosition &&
m_yPosition == o.m_yPosition &&
m_backgroundXOrigin == o.m_backgroundXOrigin &&
@@ -379,10 +380,11 @@ bool FillLayer::imageIsOpaque(const LayoutObject& layoutObject) const {
}
bool FillLayer::imageTilesLayer() const {
- // Returns true if an image will be tiled such that it covers any sized rectangle.
- // TODO(schenney) We could relax the repeat mode requirement if we also knew the rect we
- // had to fill, and the portion of the image we need to use, and know that the latter
- // covers the former
+ // Returns true if an image will be tiled such that it covers any sized
+ // rectangle.
+ // TODO(schenney) We could relax the repeat mode requirement if we also knew
+ // the rect we had to fill, and the portion of the image we need to use, and
+ // know that the latter covers the former.
return (m_repeatX == RepeatFill || m_repeatX == RoundFill) &&
(m_repeatY == RepeatFill || m_repeatY == RoundFill);
}
« no previous file with comments | « third_party/WebKit/Source/core/style/FillLayer.h ('k') | third_party/WebKit/Source/core/style/FilterOperation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698