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

Unified Diff: Source/core/page/scrolling/ScrollingConstraints.cpp

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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/core/page/scrolling/ScrollingConstraints.cpp
diff --git a/Source/core/page/scrolling/ScrollingConstraints.cpp b/Source/core/page/scrolling/ScrollingConstraints.cpp
index 30c8bb5bb6e4a8272422d6477de7c0bf937f2a40..120348c4a992a7368690bc01ed5e7204fe74d75b 100644
--- a/Source/core/page/scrolling/ScrollingConstraints.cpp
+++ b/Source/core/page/scrolling/ScrollingConstraints.cpp
@@ -48,7 +48,7 @@ FloatPoint FixedPositionViewportConstraints::layerPositionForViewportRect(const
FloatSize StickyPositionViewportConstraints::computeStickyOffset(const FloatRect& viewportRect) const
{
FloatRect boxRect = m_absoluteStickyBoxRect;
-
+
if (hasAnchorEdge(AnchorEdgeRight)) {
float rightLimit = viewportRect.maxX() - m_rightOffset;
float rightDelta = std::min<float>(0, rightLimit - m_absoluteStickyBoxRect.maxX());
@@ -68,7 +68,7 @@ FloatSize StickyPositionViewportConstraints::computeStickyOffset(const FloatRect
boxRect.move(leftDelta, 0);
}
-
+
if (hasAnchorEdge(AnchorEdgeBottom)) {
float bottomLimit = viewportRect.maxY() - m_bottomOffset;
float bottomDelta = std::min<float>(0, bottomLimit - m_absoluteStickyBoxRect.maxY());
« no previous file with comments | « Source/core/page/scrolling/ScrollingConstraints.h ('k') | Source/core/page/scrolling/ScrollingCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698