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

Unified Diff: third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h

Issue 1847983003: Fix for phase in background tiling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More expectations Created 4 years, 9 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/paint/BackgroundImageGeometry.h
diff --git a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
index b34cd98f3083f97871418f3c3e15ce07e1c73b5a..0e871d4f2024e82a3704481001d9650e4b976fc6 100644
--- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
+++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
@@ -44,8 +44,12 @@ private:
void setSpaceSize(const LayoutSize& repeatSpacing) { m_repeatSpacing = repeatSpacing; }
void setPhaseX(LayoutUnit x) { m_phase.setX(x); }
void setPhaseY(LayoutUnit y) { m_phase.setY(y); }
- void setNoRepeatX(LayoutUnit xOffset);
- void setNoRepeatY(LayoutUnit yOffset);
+ void setNoRepeatX(const LayoutUnit& xOffset);
+ void setNoRepeatY(const LayoutUnit& yOffset);
+ void setRepeatX(const FillLayer&, const LayoutSize&, const LayoutUnit&, const LayoutUnit&, const LayoutUnit&);
+ void setRepeatY(const FillLayer&, const LayoutSize&, const LayoutUnit&, const LayoutUnit&, const LayoutUnit&);
+ void setSpaceX(const LayoutUnit&, const LayoutUnit&, const LayoutUnit&);
+ void setSpaceY(const LayoutUnit&, const LayoutUnit&, const LayoutUnit&);
void useFixedAttachment(const LayoutPoint& attachmentPoint);
void setHasNonLocalGeometry() { m_hasNonLocalGeometry = true; }

Powered by Google App Engine
This is Rietveld 408576698