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; |
} |