diff options
author | pdr <pdr@chromium.org> | 2015-02-25 16:08:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-26 00:08:58 +0000 |
commit | 1bb2b1f8842f408efdf295fb7202dbbaf447f943 (patch) | |
tree | 166854d71f4ee0d1af6dee20fcaa1483195f731a /cc/blink/web_display_item_list_impl.cc | |
parent | b6a2d047d85499cc95b1d203a073c270a149ecbf (diff) | |
download | chromium_src-1bb2b1f8842f408efdf295fb7202dbbaf447f943.zip chromium_src-1bb2b1f8842f408efdf295fb7202dbbaf447f943.tar.gz chromium_src-1bb2b1f8842f408efdf295fb7202dbbaf447f943.tar.bz2 |
Remove unused transparency display items.
With the brand new Compositing display items, we no longer need these
transparency methods. This patch depends on a blink-side patch:
https://codereview.chromium.org/953143003.
Review URL: https://codereview.chromium.org/956813002
Cr-Commit-Position: refs/heads/master@{#318152}
Diffstat (limited to 'cc/blink/web_display_item_list_impl.cc')
-rw-r--r-- | cc/blink/web_display_item_list_impl.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cc/blink/web_display_item_list_impl.cc b/cc/blink/web_display_item_list_impl.cc index b1f1211..6a4ab90 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, |