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

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: Rebase 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') | cc/cc.gyp » ('j') | 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 b1f1211333673145f50aa08e37857f184259a77e..6a4ab90d10ff6cdf24a8ae5e5ab0cfba94b78fee 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -15,7 +15,6 @@
#include "cc/resources/filter_display_item.h"
#include "cc/resources/float_clip_display_item.h"
#include "cc/resources/transform_display_item.h"
-#include "cc/resources/transparency_display_item.h"
#include "skia/ext/refptr.h"
#include "third_party/WebKit/public/platform/WebFloatRect.h"
#include "third_party/WebKit/public/platform/WebRect.h"
@@ -85,19 +84,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(
- opacity, BlendModeToSkia(blend_mode)));
-}
-
-// TODO(pdr): Remove once there are no more callers.
-void WebDisplayItemListImpl::appendEndTransparencyItem() {
- display_item_list_->AppendItem(cc::EndTransparencyDisplayItem::Create());
-}
-
// TODO(pdr): Remove this once the blink-side callers have been removed.
void WebDisplayItemListImpl::appendCompositingItem(
float opacity,
« no previous file with comments | « cc/blink/web_display_item_list_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698