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

Unified Diff: Source/platform/geometry/FloatSize.h

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/platform/geometry/FloatRect.cpp ('k') | Source/platform/geometry/FloatSize.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatSize.h
diff --git a/Source/core/platform/graphics/FloatSize.h b/Source/platform/geometry/FloatSize.h
similarity index 96%
rename from Source/core/platform/graphics/FloatSize.h
rename to Source/platform/geometry/FloatSize.h
index 320fa67038c484a9b978f2afade86ccae1344512..030199684e40cad04612fe54d5db3eb8ca557259 100644
--- a/Source/core/platform/graphics/FloatSize.h
+++ b/Source/platform/geometry/FloatSize.h
@@ -28,7 +28,7 @@
#ifndef FloatSize_h
#define FloatSize_h
-#include "core/platform/graphics/IntPoint.h"
+#include "platform/geometry/IntPoint.h"
#include "wtf/MathExtras.h"
@@ -90,8 +90,8 @@ public:
FloatSize shrunkTo(const FloatSize& other) const
{
- return FloatSize(m_width < other.m_width ? m_width : other.m_width,
- m_height < other.m_height ? m_height : other.m_height);
+ return FloatSize(m_width < other.m_width ? m_width : other.m_width,
+ m_height < other.m_height ? m_height : other.m_height);
}
float diagonalLength() const;
« no previous file with comments | « Source/platform/geometry/FloatRect.cpp ('k') | Source/platform/geometry/FloatSize.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698