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

Unified Diff: ui/gfx/skia_util.cc

Issue 788053006: Revert of Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/skia_util.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/skia_util.cc
diff --git a/ui/gfx/skia_util.cc b/ui/gfx/skia_util.cc
index 63827e37b2c6a9f3b9428dd2225c82f3cd751882..0bdf4e9a5080a158124d0d23a27d113294882e0c 100644
--- a/ui/gfx/skia_util.cc
+++ b/ui/gfx/skia_util.cc
@@ -45,15 +45,6 @@
SkScalarToFloat(rect.y()),
SkScalarToFloat(rect.width()),
SkScalarToFloat(rect.height()));
-}
-
-SkSize SizeFToSkSize(const SizeF& size) {
- return SkSize::Make(SkFloatToScalar(size.width()),
- SkFloatToScalar(size.height()));
-}
-
-SizeF SkSizeToSizeF(const SkSize& size) {
- return SizeF(SkScalarToFloat(size.width()), SkScalarToFloat(size.height()));
}
void TransformToFlattenedSkMatrix(const gfx::Transform& transform,
« no previous file with comments | « ui/gfx/skia_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698