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

Unified Diff: third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java

Issue 1826363002: Fix build warnings in third_party/android_data_chart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated gn file Created 4 years, 9 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 | « third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/ChartView.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java
diff --git a/third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java b/third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java
index 287a63ad723319fcabd5d5038925d3ea238c9cf0..782935f5f42df9d1b3c9c118ff028b6236ef7210 100644
--- a/third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java
+++ b/third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/InvertedChartAxis.java
@@ -58,15 +58,6 @@ public class InvertedChartAxis implements ChartAxis {
}
@Override
- public float[] getTickPoints() {
- final float[] points = mWrapped.getTickPoints();
- for (int i = 0; i < points.length; i++) {
- points[i] = mSize - points[i];
- }
- return points;
- }
-
- @Override
public int shouldAdjustAxis(long value) {
return mWrapped.shouldAdjustAxis(value);
}
« no previous file with comments | « third_party/android_data_chart/java/src/org/chromium/third_party/android/datausagechart/ChartView.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698