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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java

Issue 12545043: Fix several findbugs issues (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java
index c5d834d85606bf7336ed632afb48a5e798639470..29eeccdcb1d7555630056883b9b53c73815298e4 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/PopupZoomerTest.java
@@ -22,7 +22,7 @@ import org.chromium.base.test.util.Feature;
public class PopupZoomerTest extends InstrumentationTestCase {
private CustomCanvasPopupZoomer mPopupZoomer;
- private class CustomCanvasPopupZoomer extends PopupZoomer {
+ private static class CustomCanvasPopupZoomer extends PopupZoomer {
Canvas mCanvas;
long mPendingDraws = 0;
@@ -44,6 +44,7 @@ public class PopupZoomerTest extends InstrumentationTestCase {
// Test doesn't attach PopupZoomer to the view hierarchy,
// but onDraw() should still go on.
+ @Override
protected boolean acceptZeroSizeView() {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698