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

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

Issue 2271393003: Delay setting the compositor view background to null on N (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Do all calc if > M 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 | « chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java ('k') | 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 a76f60aa2d00094b67427d489919d901efa2fe58..aa7d46f1db99e49be27846743de47d1863a5f278 100644
--- a/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
+++ b/ui/android/java/src/org/chromium/ui/base/WindowAndroid.java
@@ -155,6 +155,13 @@ public class WindowAndroid {
}
/**
+ * @return The time interval between two consecutive vsync pulses in milliseconds.
+ */
+ public long getVsyncPeriodInMillis() {
Ted C 2016/08/25 01:56:22 it's odd these two methods are above the construct
+ return mVSyncMonitor.getVSyncPeriodInMicroseconds() * 1000;
+ }
+
+ /**
* @param context The application context.
*/
@SuppressLint("UseSparseArrays")
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/compositor/CompositorView.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698