summaryrefslogtreecommitdiffstats
path: root/cc/blink/web_display_item_list_impl.cc
diff options
context:
space:
mode:
authorhuayong.xu <huayong.xu@samsung.com>2015-03-30 11:01:25 -0700
committerCommit bot <commit-bot@chromium.org>2015-03-30 18:02:13 +0000
commit45a8506acbf566eac38c7ed0624a45669b45de69 (patch)
tree02fe04534111b01ae81a5f1001784d6d82e8bc74 /cc/blink/web_display_item_list_impl.cc
parent88b4cf8d33b499f972e1c447e741230170beeb8d (diff)
downloadchromium_src-45a8506acbf566eac38c7ed0624a45669b45de69.zip
chromium_src-45a8506acbf566eac38c7ed0624a45669b45de69.tar.gz
chromium_src-45a8506acbf566eac38c7ed0624a45669b45de69.tar.bz2
cc: Remove the unused function appendCompositingItem with 3 parameters
Remove a TODO, because Blink had already removed this function calls. Meanwhile remove some unused includes. Review URL: https://codereview.chromium.org/1019263002 Cr-Commit-Position: refs/heads/master@{#322808}
Diffstat (limited to 'cc/blink/web_display_item_list_impl.cc')
-rw-r--r--cc/blink/web_display_item_list_impl.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/cc/blink/web_display_item_list_impl.cc b/cc/blink/web_display_item_list_impl.cc
index 6a4ab90..f9afded 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -6,7 +6,6 @@
#include <vector>
-#include "cc/blink/web_blend_mode.h"
#include "cc/blink/web_filter_operations_impl.h"
#include "cc/resources/clip_display_item.h"
#include "cc/resources/clip_path_display_item.h"
@@ -19,7 +18,6 @@
#include "third_party/WebKit/public/platform/WebFloatRect.h"
#include "third_party/WebKit/public/platform/WebRect.h"
#include "third_party/skia/include/core/SkColorFilter.h"
-#include "third_party/skia/include/core/SkImageFilter.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/utils/SkMatrix44.h"
#include "ui/gfx/transform.h"
@@ -84,14 +82,6 @@ void WebDisplayItemListImpl::appendEndTransformItem() {
display_item_list_->AppendItem(cc::EndTransformDisplayItem::Create());
}
-// TODO(pdr): Remove this once the blink-side callers have been removed.
-void WebDisplayItemListImpl::appendCompositingItem(
- float opacity,
- SkXfermode::Mode xfermode,
- SkColorFilter* color_filter) {
- appendCompositingItem(opacity, xfermode, nullptr, color_filter);
-}
-
void WebDisplayItemListImpl::appendCompositingItem(
float opacity,
SkXfermode::Mode xfermode,