Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1231)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp

Issue 2784783002: DNS: Testing for [blink] Support (semi-)transparent background colors.
Patch Set: test with !hasAlpha instead of alpha > 0 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
index b45fdf9805fb586f6975e130889f4542721d170f..70d804296274d4459ef2f79d8dd4eb11c2910d16 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
@@ -24,7 +24,7 @@ LocalFrame* SingleChildLocalFrameClient::createFrame(
LocalFrame* parentFrame = ownerElement->document().frame();
auto* childClient = LocalFrameClientWithParent::create(parentFrame);
m_child = LocalFrame::create(childClient, *parentFrame->page(), ownerElement);
- m_child->createView(IntSize(500, 500), Color(), true /* transparent */);
+ m_child->createView(IntSize(500, 500), Color::transparent);
m_child->init();
return m_child.get();
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp ('k') | third_party/WebKit/Source/core/paint/ViewPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698