Correct PatchCache comparison logic

Change-Id: I3d0832505b5380bfa362863b39e09dd10f792582
diff --git a/libs/hwui/PatchCache.cpp b/libs/hwui/PatchCache.cpp
index f48f857..62e38d3 100644
--- a/libs/hwui/PatchCache.cpp
+++ b/libs/hwui/PatchCache.cpp
@@ -51,10 +51,10 @@
     if (deltaInt != 0) return deltaInt;
 
     if (lhs.pixelWidth < rhs.pixelWidth) return -1;
-    if (lhs.pixelWidth > lhs.pixelWidth) return +1;
+    if (lhs.pixelWidth > rhs.pixelWidth) return +1;
 
     if (lhs.pixelHeight < rhs.pixelHeight) return -1;
-    if (lhs.pixelHeight > lhs.pixelHeight) return +1;
+    if (lhs.pixelHeight > rhs.pixelHeight) return +1;
 
     deltaInt = lhs.xCount - rhs.xCount;
     if (deltaInt != 0) return deltaInt;