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

Unified Diff: src/core/Sk64.cpp

Issue 116543009: Revert "begin to remove SkLONGLONG and wean Skia off of Sk64" (Closed) Base URL: https://skia.googlecode.com/svn/trunk
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
« no previous file with comments | « include/utils/SkCamera.h ('k') | src/core/SkMath.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk64.cpp
diff --git a/src/core/Sk64.cpp b/src/core/Sk64.cpp
index 0b5b3dfb46a6dd14574fabe349e85a6ffbc8052e..1fb0454ae212a2b15a21d298e1638c61a078849c 100644
--- a/src/core/Sk64.cpp
+++ b/src/core/Sk64.cpp
@@ -285,3 +285,11 @@ int32_t Sk64::getSqrt() const
return root;
}
+#ifdef SkLONGLONG
+ SkLONGLONG Sk64::getLongLong() const
+ {
+ SkLONGLONG value = fHi;
+ value <<= 32;
+ return value | fLo;
+ }
+#endif
« no previous file with comments | « include/utils/SkCamera.h ('k') | src/core/SkMath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698