summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-24 12:15:48 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-08-28 13:30:04 +0000
commitb014812705fc80bff0a5c120dfcef88f349816dc (patch)
tree25a2e2d9fa285f1add86aa333389a839f81a39ae /chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc
parent9f4560b1027ae06fdb497023cdcaf91b8511fa74 (diff)
downloadqtwebengine-chromium-b014812705fc80bff0a5c120dfcef88f349816dc.tar.gz
BASELINE: Update Chromium to 68.0.3440.125
Change-Id: I23f19369e01f688e496f5bf179abb521ad73874f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc')
-rw-r--r--chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc b/chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc
index 97b99a35fff..0aed4733809 100644
--- a/chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc
+++ b/chromium/content/browser/renderer_host/input/wheel_scroll_latching_browsertest.cc
@@ -37,7 +37,7 @@ const char kWheelEventLatchingDataURL[] =
"body {"
" height: 10000px;"
"}"
- "#scrollableDiv {"
+ "%23scrollableDiv {"
" position: absolute;"
" left: 50px;"
" top: 100px;"
@@ -46,7 +46,7 @@ const char kWheelEventLatchingDataURL[] =
" overflow: scroll;"
" background: red;"
"}"
- "#nestedDiv {"
+ "%23nestedDiv {"
" width: 200px;"
" height: 8000px;"
" opacity: 0;"
@@ -118,7 +118,7 @@ class WheelScrollLatchingBrowserTest : public ContentBrowserTest {
host->GetView()->SetSize(gfx::Size(600, 600));
// The page is loaded in the renderer, wait for a new frame to arrive.
- while (!host->ScheduleComposite())
+ while (!host->RequestRepaintForTesting())
GiveItSomeTime();
}
int ExecuteScriptAndExtractInt(const std::string& script) {