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

Unified Diff: Source/core/style/FillLayer.cpp

Issue 1145993002: Refactor root element background painting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase, adding back TestExpectation Created 5 years, 6 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
« no previous file with comments | « Source/core/paint/ViewPainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/FillLayer.cpp
diff --git a/Source/core/style/FillLayer.cpp b/Source/core/style/FillLayer.cpp
index d5b9ff901f9ffd3c839e045f5afa9de9267bfbd9..647d0f1de678fdc4e0da253044d73388b6f570ce 100644
--- a/Source/core/style/FillLayer.cpp
+++ b/Source/core/style/FillLayer.cpp
@@ -368,6 +368,7 @@ bool FillLayer::hasOpaqueImage(const LayoutObject* layoutObject) const
if (!m_image)
return false;
+ // TODO(trchen): Should check blend mode before composite mode.
if (m_composite == CompositeClear || m_composite == CompositeCopy)
return true;
« no previous file with comments | « Source/core/paint/ViewPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698