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

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

Issue 660523003: Simplify BackgroundImageGeometry by removing meaningless distinctions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/paint/BackgroundImageGeometry.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BackgroundImageGeometry.h
diff --git a/Source/core/paint/BackgroundImageGeometry.h b/Source/core/paint/BackgroundImageGeometry.h
index 8875376217fdc53e1dd1b00b08766a62a2513565..b4ed796d9224eb2bc0d43fcc3c429c03d33591bc 100644
--- a/Source/core/paint/BackgroundImageGeometry.h
+++ b/Source/core/paint/BackgroundImageGeometry.h
@@ -17,21 +17,12 @@ public:
: m_hasNonLocalGeometry(false)
{ }
- IntPoint destOrigin() const { return m_destOrigin; }
- void setDestOrigin(const IntPoint& destOrigin)
- {
- m_destOrigin = destOrigin;
- }
-
IntRect destRect() const { return m_destRect; }
void setDestRect(const IntRect& destRect)
{
m_destRect = destRect;
}
- // Returns the phase relative to the destination rectangle.
- IntPoint relativePhase() const;
-
IntPoint phase() const { return m_phase; }
void setPhase(const IntPoint& phase)
{
@@ -67,7 +58,6 @@ public:
private:
IntRect m_destRect;
- IntPoint m_destOrigin;
IntPoint m_phase;
IntSize m_tileSize;
IntSize m_repeatSpacing;
« no previous file with comments | « no previous file | Source/core/paint/BackgroundImageGeometry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698