macOS: Fix rendering with surface synchronization (issue #2447)

This commit is contained in:
Marshall Greenblatt
2018-05-31 16:34:44 -04:00
parent 08ff72fa20
commit 21310e4374
4 changed files with 40 additions and 27 deletions

View File

@@ -467,7 +467,7 @@ class OSRTestHandler : public RoutingTestHandler,
EXPECT_TRUE(IsFullRepaint(dirtyRects[0], GetScaledInt(kOsrWidth),
GetScaledInt(kOsrHeight)));
#if defined(OS_MACOSX)
EXPECT_EQ(0x807e0308U, *(reinterpret_cast<const uint32*>(buffer)));
EXPECT_EQ(0x807F070EU, *(reinterpret_cast<const uint32*>(buffer)));
#else
EXPECT_EQ(0x80800000U, *(reinterpret_cast<const uint32*>(buffer)));
#endif