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

Unified Diff: src/image/SkImage.cpp

Issue 71813002: move SkImageInfo into its own header (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: 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 | « include/core/SkImageInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/image/SkImage.cpp
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp
index c8559e65338cd86615eb93ee04d6a5f365e9a13c..39fd93acc66e7e743145b342157b8267a0a9fcde 100644
--- a/src/image/SkImage.cpp
+++ b/src/image/SkImage.cpp
@@ -12,14 +12,6 @@
SK_DEFINE_INST_COUNT(SkImage)
-bool operator==(const SkImageInfo& lhs, const SkImageInfo& rhs) {
- return 0 == memcmp(&lhs, &rhs, sizeof(SkImageInfo));
-}
-bool operator!=(const SkImageInfo& lhs, const SkImageInfo& rhs) {
- return 0 != memcmp(&lhs, &rhs, sizeof(SkImageInfo));
-}
-
-
static SkImage_Base* as_IB(SkImage* image) {
return static_cast<SkImage_Base*>(image);
}
« no previous file with comments | « include/core/SkImageInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698