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 b32fcc1acb9da6242273a65169a6841ba8c3610c..ac73362b7c39029b9b51f6e6bb5274abd71ca482 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -8170,8 +8170,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; |
}; |