Index: ui/ios/uikit_util.mm |
diff --git a/ui/ios/uikit_util.mm b/ui/ios/uikit_util.mm |
deleted file mode 100644 |
index 13f743be916c81f7be82a68247bfe823f409c281..0000000000000000000000000000000000000000 |
--- a/ui/ios/uikit_util.mm |
+++ /dev/null |
@@ -1,23 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "ui/ios/uikit_util.h" |
- |
-#import <UIKit/UIKit.h> |
- |
-#include <cmath> |
- |
-namespace ui { |
- |
-CGFloat AlignValueToUpperPixel(CGFloat value) { |
- CGFloat scale = [[UIScreen mainScreen] scale]; |
- return std::ceil(value * scale) / scale; |
-} |
- |
-CGSize AlignSizeToUpperPixel(CGSize size) { |
- return CGSizeMake(AlignValueToUpperPixel(size.width), |
- AlignValueToUpperPixel(size.height)); |
-} |
- |
-} // namespace ui |