Index: content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java b/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
index 5ee5d32ea2393693b9594cbabe768505fd037668..c0b6143722d0589c709e0df3096e7c103b5af887 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ContentDetectionTestBase.java |
@@ -96,20 +96,4 @@ public class ContentDetectionTestBase extends ContentShellTestBase { |
TimeUnit.SECONDS); |
getInstrumentation().waitForIdleSync(); |
} |
- |
- // TODO(aelias): This method needs to be removed once http://crbug.com/179511 is fixed. |
- // Meanwhile, we have to wait if the page has the <meta viewport> tag. |
- /** |
- * Waits till the ContentViewCore receives the expected page scale factor |
- * from the compositor and asserts that this happens. |
- */ |
- protected void assertWaitForPageScaleFactorMatch(final float expectedScale) |
- throws InterruptedException { |
- assertTrue(CriteriaHelper.pollForCriteria(new Criteria() { |
- @Override |
- public boolean isSatisfied() { |
- return getContentViewCore().getScale() == expectedScale; |
- } |
- })); |
- } |
} |