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

Unified Diff: include/core/SkDocument.h

Issue 85463005: remove SkFloatToScalar macro (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: add flag to expose SkFloatToScalar to chromium Created 7 years, 1 month 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 | « gyp/common.gypi ('k') | include/core/SkScalar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDocument.h
diff --git a/include/core/SkDocument.h b/include/core/SkDocument.h
index 83b4e7a3eeb750d173b6537ca9fb9c47aeb60b05..dbf4bc5957e77d471b802a16fb0d9f54f652d0e4 100644
--- a/include/core/SkDocument.h
+++ b/include/core/SkDocument.h
@@ -18,7 +18,7 @@ class SkWStream;
/** SK_ScalarDefaultDPI is 72 DPI.
*/
-#define SK_ScalarDefaultRasterDPI SkFloatToScalar(72.0f)
+#define SK_ScalarDefaultRasterDPI 72.0f
/**
* High-level API for creating a document-based canvas. To use..
« no previous file with comments | « gyp/common.gypi ('k') | include/core/SkScalar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698