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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java

Issue 2548013002: Remove redundant field initialization in Java code. (Closed)
Patch Set: rebase Created 4 years 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
Index: android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
index 2fb4a6760f8c7842eea4de1ef761e4bac048cdff..7d5586fc0acbd669d3b90bffcbeed19a94d8571f 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
@@ -124,9 +124,9 @@ public class AwContentsClientCallbackHelper {
// Minimum period allowed between consecutive onNewPicture calls, to rate-limit the callbacks.
private static final long ON_NEW_PICTURE_MIN_PERIOD_MILLIS = 500;
// Timestamp of the most recent onNewPicture callback.
- private long mLastPictureTime = 0;
+ private long mLastPictureTime;
// True when a onNewPicture callback is currenly in flight.
- private boolean mHasPendingOnNewPicture = false;
+ private boolean mHasPendingOnNewPicture;
private final AwContentsClient mContentsClient;

Powered by Google App Engine
This is Rietveld 408576698