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

Unified Diff: cc/animation/animation_host.cc

Issue 1222243005: Fix unused variables errors in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nacl_private_fields
Patch Set: Created 5 years, 5 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
Index: cc/animation/animation_host.cc
diff --git a/cc/animation/animation_host.cc b/cc/animation/animation_host.cc
index 489c6f8d66153d7febd7e6509090318b7acf4607..dfbac6b69e941e98b2d110d984c4356eb1329b97 100644
--- a/cc/animation/animation_host.cc
+++ b/cc/animation/animation_host.cc
@@ -14,15 +14,13 @@
namespace cc {
-scoped_ptr<AnimationHost> AnimationHost::Create(
- ThreadInstance thread_instance) {
- return make_scoped_ptr(new AnimationHost(thread_instance));
+scoped_ptr<AnimationHost> AnimationHost::Create() {
+ return make_scoped_ptr(new AnimationHost);
}
-AnimationHost::AnimationHost(ThreadInstance thread_instance)
+AnimationHost::AnimationHost()
: animation_registrar_(AnimationRegistrar::Create()),
- mutator_host_client_(),
- thread_instance_(thread_instance) {
+ mutator_host_client_() {
vmpstr 2015/07/06 20:00:41 nit: Can you put nullptr in here while you're here
mlamouri (slow - plz ping) 2015/07/06 20:10:55 Done.
}
AnimationHost::~AnimationHost() {

Powered by Google App Engine
This is Rietveld 408576698