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

Unified Diff: ui/gfx/geometry/safe_integer_conversions.h

Issue 109433013: Move geometric types to a separate, more lightweight target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years 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: ui/gfx/geometry/safe_integer_conversions.h
diff --git a/ui/gfx/safe_integer_conversions.h b/ui/gfx/geometry/safe_integer_conversions.h
similarity index 88%
copy from ui/gfx/safe_integer_conversions.h
copy to ui/gfx/geometry/safe_integer_conversions.h
index 523b1f3441fdfa5a5da0468a7656c0dc4a6bbbbb..4d289ecabafb665386b25ea58704cea22d737440 100644
--- a/ui/gfx/safe_integer_conversions.h
+++ b/ui/gfx/geometry/safe_integer_conversions.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_SAFE_INTEGER_CONVERSIONS_H_
-#define UI_GFX_SAFE_INTEGER_CONVERSIONS_H_
+#ifndef UI_GFX_GEOMETRY_SAFE_INTEGER_CONVERSIONS_H_
+#define UI_GFX_GEOMETRY_SAFE_INTEGER_CONVERSIONS_H_
#include <cmath>
#include <limits>
@@ -51,4 +51,4 @@ inline bool IsExpressibleAsInt(float value) {
} // namespace gfx
-#endif // UI_GFX_SAFE_INTEGER_CONVERSIONS_H_
+#endif // UI_GFX_GEOMETRY_SAFE_INTEGER_CONVERSIONS_H_

Powered by Google App Engine
This is Rietveld 408576698