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

Unified Diff: include/core/Sk64.h

Issue 122283002: Revert of remove Sk64 from public API, and start to remove usage internally (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 | « no previous file | include/core/SkBitmap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/Sk64.h
diff --git a/include/core/Sk64.h b/include/core/Sk64.h
index c12a97c8a10ea7129137f33a41a9034578992a74..009744938fe397908ca544317f871eee568f8eac 100644
--- a/include/core/Sk64.h
+++ b/include/core/Sk64.h
@@ -1,9 +1,11 @@
+
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#ifndef Sk64_DEFINED
#define Sk64_DEFINED
@@ -25,11 +27,6 @@
int64_t as64() const { return ((int64_t)fHi << 32) | fLo; }
int64_t getLongLong() const { return this->as64(); }
-
- void set64(int64_t value) {
- fHi = (int32_t)(value >> 32);
- fLo = (uint32_t)value;
- }
/** Returns non-zero if the Sk64 can be represented as a signed 32 bit integer
*/
« no previous file with comments | « no previous file | include/core/SkBitmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698