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

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

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 | « Source/core/paint/BackgroundImageGeometry.h ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BackgroundImageGeometry.cpp
diff --git a/Source/core/paint/BackgroundImageGeometry.cpp b/Source/core/paint/BackgroundImageGeometry.cpp
index bc59f40eafd48ff2ecde3afb4c16db7931148931..b4a479509501fc3252b513c523a6802cd4ff8e55 100644
--- a/Source/core/paint/BackgroundImageGeometry.cpp
+++ b/Source/core/paint/BackgroundImageGeometry.cpp
@@ -31,11 +31,4 @@ void BackgroundImageGeometry::clip(const IntRect& clipRect)
m_destRect.intersect(clipRect);
}
-IntPoint BackgroundImageGeometry::relativePhase() const
-{
- IntPoint phase = m_phase;
- phase += m_destRect.location() - m_destOrigin;
- return phase;
-}
-
} // namespace blink
« no previous file with comments | « Source/core/paint/BackgroundImageGeometry.h ('k') | Source/core/paint/BoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698