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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.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: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 1ed433cfebb18d71914f8247db44544e2a3757bb..4debfaf04922e3ccba3b988ece35c4c3bd0260b8 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -283,7 +283,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
private ContentViewClient mContentViewClient;
// Native pointer to C++ ContentViewCoreImpl object which will be set by nativeInit().
- private long mNativeContentViewCore = 0;
+ private long mNativeContentViewCore;
private boolean mAttachedToWindow;
private final ObserverList<GestureStateListener> mGestureStateListeners;
@@ -291,11 +291,11 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
private PopupZoomer mPopupZoomer;
private SelectPopup mSelectPopup;
- private long mNativeSelectPopupSourceFrame = 0;
+ private long mNativeSelectPopupSourceFrame;
private OverscrollRefreshHandler mOverscrollRefreshHandler;
- private Runnable mFakeMouseMoveRunnable = null;
+ private Runnable mFakeMouseMoveRunnable;
// Only valid when focused on a text / password field.
private ImeAdapter mImeAdapter;
@@ -365,7 +365,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Displa
// onNativeFlingStopped() is called asynchronously.
private int mPotentiallyActiveFlingCount;
- private SmartClipDataListener mSmartClipDataListener = null;
+ private SmartClipDataListener mSmartClipDataListener;
/**
* PID used to indicate an invalid render process.

Powered by Google App Engine
This is Rietveld 408576698