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

Unified Diff: ui/gfx/size_f.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 3 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 | « ui/gfx/size_conversions.h ('k') | ui/gfx/skbitmap_operations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/size_f.h
diff --git a/ui/gfx/size_f.h b/ui/gfx/size_f.h
index ee90189f7d9b04533d50127f17e023065847996c..b9065273c8ed041e0fcb48c86cc5c7a05c4f5b41 100644
--- a/ui/gfx/size_f.h
+++ b/ui/gfx/size_f.h
@@ -14,7 +14,7 @@
namespace gfx {
// A floating version of gfx::Size.
-class UI_EXPORT SizeF : public SizeBase<SizeF, float> {
+class GFX_EXPORT SizeF : public SizeBase<SizeF, float> {
public:
SizeF() : SizeBase<SizeF, float>(0, 0) {}
SizeF(float width, float height) : SizeBase<SizeF, float>(width, height) {}
@@ -39,7 +39,7 @@ inline bool operator!=(const SizeF& lhs, const SizeF& rhs) {
return !(lhs == rhs);
}
-UI_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
+GFX_EXPORT SizeF ScaleSize(const SizeF& p, float x_scale, float y_scale);
inline SizeF ScaleSize(const SizeF& p, float scale) {
return ScaleSize(p, scale, scale);
« no previous file with comments | « ui/gfx/size_conversions.h ('k') | ui/gfx/skbitmap_operations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698