Chromium Code Reviews| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp |
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
| index 0840d8c1b77fabff9833895c78e37f803c92c267..4bb2739ec73b879b1c68b087f7de6cbd5437d727 100644 |
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp |
| @@ -394,11 +394,11 @@ TEST_P(WebViewTest, SetBaseBackgroundColor) { |
| "style></head></html>", |
| baseURL); |
| // Expected: red (50% alpha) blended atop base of kBlue. |
| - EXPECT_EQ(0xFF7F0080, webView->backgroundColor()); |
| + EXPECT_EQ(0xFF80007F, webView->backgroundColor()); |
|
sashab
2017/01/02 23:04:16
Why change these tests? Also what is 0xFF80007F --
ktyliu
2017/01/03 02:14:22
0xFF80007F is the expected result of layering 50%
|
| webView->setBaseBackgroundColor(kTranslucentPutty); |
| // Expected: red (50% alpha) blended atop kTranslucentPutty. Note the alpha. |
| - EXPECT_EQ(0xBFE93B32, webView->backgroundColor()); |
| + EXPECT_EQ(0xBFE93A31, webView->backgroundColor()); |
| webView->setBaseBackgroundColor(kTransparent); |
| FrameTestHelpers::loadHTMLString(webView->mainFrame(), |