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

Unified Diff: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java

Issue 2292083004: Revert of Add tab persistence support for CustomTabs. (Closed)
Patch Set: Created 4 years, 3 months 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 | chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
diff --git a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
index 9680600d30206625b3593563109f5ade54a3c0f4..e552fe002b5c23ef1b20f8a5ecfe6912d0b86dac 100644
--- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
+++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
@@ -44,17 +44,6 @@
}
/**
- * @see Long#compare(long, long)
- */
- public static int compareLong(long lhs, long rhs) {
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
- return Long.compare(lhs, rhs);
- } else {
- return lhs < rhs ? -1 : (lhs == rhs ? 0 : 1);
- }
- }
-
- /**
* Returns true if view's layout direction is right-to-left.
*
* @param view the View whose layout is being considered
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698