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

Unified Diff: ui/gfx/skia_util.h

Issue 821703005: Remove calls to deprecated SkPDFDevice and SkPDFDocuemnt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments from reed@ Created 6 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
« no previous file with comments | « printing/pdf_metafile_skia.cc ('k') | ui/gfx/skia_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/skia_util.h
diff --git a/ui/gfx/skia_util.h b/ui/gfx/skia_util.h
index 0c759838b863f5443b238054e1b38ea9ce6ed0f7..768afd228dd4ca91fae2406ad9831841af4a6f05 100644
--- a/ui/gfx/skia_util.h
+++ b/ui/gfx/skia_util.h
@@ -12,6 +12,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkShader.h"
+#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gfx_export.h"
class SkBitmap;
@@ -31,6 +32,8 @@ GFX_EXPORT SkIRect RectToSkIRect(const Rect& rect);
GFX_EXPORT Rect SkIRectToRect(const SkIRect& rect);
GFX_EXPORT SkRect RectFToSkRect(const RectF& rect);
GFX_EXPORT RectF SkRectToRectF(const SkRect& rect);
+GFX_EXPORT SkSize SizeToSkSize(const Size& size);
+GFX_EXPORT Size SkSizeToSize(const SkSize& size);
danakj 2014/12/23 15:57:18 This should be SkSizeToSizeF. Then use the size_co
hal.canary 2014/12/23 16:14:40 Done.
GFX_EXPORT void TransformToFlattenedSkMatrix(const gfx::Transform& transform,
SkMatrix* flattened);
« no previous file with comments | « printing/pdf_metafile_skia.cc ('k') | ui/gfx/skia_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698