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

Unified Diff: cc/blink/web_display_item_list_impl.cc

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 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/blink/web_filter_animation_curve_impl.h » ('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 c9d8de745625ed0b4147a2b18907717b6397debc..451a5d58c54949448592e4f7b9c195cec70696b9 100644
--- a/cc/blink/web_display_item_list_impl.cc
+++ b/cc/blink/web_display_item_list_impl.cc
@@ -9,7 +9,6 @@
#include <vector>
-#include "cc/blink/web_filter_operations_impl.h"
#include "cc/playback/clip_display_item.h"
#include "cc/playback/clip_path_display_item.h"
#include "cc/playback/compositing_display_item.h"
@@ -196,16 +195,13 @@ void WebDisplayItemListImpl::appendEndCompositingItem(
void WebDisplayItemListImpl::appendFilterItem(
const blink::WebRect& visual_rect,
- const blink::WebFilterOperations& filters,
+ const cc::FilterOperations& filters,
const blink::WebFloatRect& bounds) {
- const WebFilterOperationsImpl& filters_impl =
- static_cast<const WebFilterOperationsImpl&>(filters);
-
if (display_item_list_->RetainsIndividualDisplayItems()) {
display_item_list_->CreateAndAppendItem<cc::FilterDisplayItem>(
- visual_rect, filters_impl.AsFilterOperations(), bounds);
+ visual_rect, filters, bounds);
} else {
- cc::FilterDisplayItem item(filters_impl.AsFilterOperations(), bounds);
+ cc::FilterDisplayItem item(filters, bounds);
display_item_list_->RasterIntoCanvas(item);
}
}
« no previous file with comments | « cc/blink/web_display_item_list_impl.h ('k') | cc/blink/web_filter_animation_curve_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698