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

Unified Diff: ui/android/java/src/org/chromium/ui/base/WindowAndroid.java

Issue 2283433002: Fix WindowAndroid getVsyncPeriodInMillis (Closed)
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
diff --git a/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java b/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
index aa7d46f1db99e49be27846743de47d1863a5f278..cceb825154168f1b0c5147f5071e051f52999781 100644
--- a/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
+++ b/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
@@ -158,7 +158,7 @@ public class WindowAndroid {
* @return The time interval between two consecutive vsync pulses in milliseconds.
*/
public long getVsyncPeriodInMillis() {
- return mVSyncMonitor.getVSyncPeriodInMicroseconds() * 1000;
+ return mVSyncMonitor.getVSyncPeriodInMicroseconds() / 1000;
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698