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

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: Code now better 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..9796cc3b8347ad29f000d0ef6904cf3b575c5e60 100644
--- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
+++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
@@ -46,6 +46,10 @@ private:
void setPhaseY(LayoutUnit y) { m_phase.setY(y); }
void setNoRepeatX(LayoutUnit xOffset);
void setNoRepeatY(LayoutUnit yOffset);
+ void setRepeatX(const FillLayer&, LayoutUnit, LayoutUnit, LayoutUnit, LayoutUnit);
+ void setRepeatY(const FillLayer&, LayoutUnit, LayoutUnit, LayoutUnit, LayoutUnit);
+ void setSpaceX(LayoutUnit, LayoutUnit, LayoutUnit);
+ void setSpaceY(LayoutUnit, LayoutUnit, LayoutUnit);
void useFixedAttachment(const LayoutPoint& attachmentPoint);
void setHasNonLocalGeometry() { m_hasNonLocalGeometry = true; }

Powered by Google App Engine
This is Rietveld 408576698