Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index dcaacbcf8c23311905e408621585bb18e1b8140e..029ff411fb19812d0cee6d80a1a5ce69f472d6a1 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -8116,8 +8116,8 @@ namespace { |
class TestFullscreenWebLayerTreeView : public WebLayerTreeView { |
public: |
- void setHasTransparentBackground(bool value) override { |
- hasTransparentBackground = value; |
+ void setBackgroundColor(blink::WebColor color) override { |
+ hasTransparentBackground = SkColorGetA(color) < SK_AlphaOPAQUE; |
} |
bool hasTransparentBackground = false; |
}; |