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

Unified Diff: cc/blink/web_display_item_list_impl.cc

Issue 956813002: Remove unused transparency display items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « cc/blink/web_display_item_list_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_display_item_list_impl.cc
diff --git a/cc/blink/web_display_item_list_impl.cc b/cc/blink/web_display_item_list_impl.cc
index 5cbac731862db7eb7ded1e0a76e17c21c83e314a..56507cacca74ac40936a24c70bde15986ab84d73 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -85,19 +85,6 @@ void WebDisplayItemListImpl::appendEndTransformItem() {
display_item_list_->AppendItem(cc::EndTransformDisplayItem::Create());
}
-// TODO(pdr): Remove once there are no more callers.
-void WebDisplayItemListImpl::appendTransparencyItem(
- float opacity,
- blink::WebBlendMode blend_mode) {
- display_item_list_->AppendItem(cc::TransparencyDisplayItem::Create(
ajuma 2015/02/25 14:16:01 I believe this is the only caller of cc::Transpare
- opacity, BlendModeToSkia(blend_mode)));
-}
-
-// TODO(pdr): Remove once there are no more callers.
-void WebDisplayItemListImpl::appendEndTransparencyItem() {
- display_item_list_->AppendItem(cc::EndTransparencyDisplayItem::Create());
-}
-
void WebDisplayItemListImpl::appendCompositingItem(
float opacity,
SkXfermode::Mode xfermode,
« no previous file with comments | « cc/blink/web_display_item_list_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698