Update to Chromium version 79.0.3945.1 (#706915)

This commit is contained in:
Daniel Nitsche
2019-11-12 11:11:44 -05:00
committed by Marshall Greenblatt
parent b9fc93955c
commit 115f760821
103 changed files with 662 additions and 756 deletions

View File

@@ -785,13 +785,13 @@ class OSRTestHandler : public RoutingTestHandler,
EXPECT_GT(dirtyRects[0].height, kExpandedSelectRect.height);
}
// first pixel of border
// Unselected option background color is cyan.
// Go down 100 pixels to skip the selected option and over 5 pixels to
// avoid hitting the border.
const uint32 offset = dirtyRects[0].width * 100 + 5;
EXPECT_EQ(0xff00ffff,
*(reinterpret_cast<const uint32*>(buffer) + offset));
#if defined(OS_MACOSX)
EXPECT_EQ(0xff3979d1U, *(reinterpret_cast<const uint32*>(buffer)));
#else
EXPECT_EQ(0xff6497eaU, *(reinterpret_cast<const uint32*>(buffer)));
#endif
if (ExpectComputedPopupSize()) {
EXPECT_EQ(expanded_select_rect.width, width);
EXPECT_EQ(expanded_select_rect.height, height);