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

Unified Diff: cc/blink/web_layer_impl.cc

Issue 1973083002: Use element id's for animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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_layer_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_layer_impl.cc
diff --git a/cc/blink/web_layer_impl.cc b/cc/blink/web_layer_impl.cc
index abb6e501137ba8a88c69e4d0e0657416f571ed4a..e81c093ea580b38a41a01fe5657e72cc8aa92019 100644
--- a/cc/blink/web_layer_impl.cc
+++ b/cc/blink/web_layer_impl.cc
@@ -14,6 +14,7 @@
#include "base/strings/string_util.h"
#include "base/threading/thread_checker.h"
#include "base/trace_event/trace_event_impl.h"
+#include "cc/animation/element_id.h"
#include "cc/base/region.h"
#include "cc/base/switches.h"
#include "cc/blink/web_blend_mode.h"
@@ -379,11 +380,11 @@ cc::Layer* WebLayerImpl::ccLayer() {
return layer_.get();
}
-void WebLayerImpl::setElementId(uint64_t id) {
+void WebLayerImpl::setElementId(const cc::ElementId& id) {
layer_->SetElementId(id);
}
-uint64_t WebLayerImpl::elementId() const {
+cc::ElementId WebLayerImpl::elementId() const {
return layer_->element_id();
}
« no previous file with comments | « cc/blink/web_layer_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698