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

Unified Diff: cc/layers/layer_settings.cc

Issue 1462613002: Move cc::LayerSettings to cc/layers/layer_settings.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cc_perftests Created 5 years, 1 month 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/layers/layer_settings.h ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_settings.cc
diff --git a/cc/base/resource_id.h b/cc/layers/layer_settings.cc
similarity index 57%
copy from cc/base/resource_id.h
copy to cc/layers/layer_settings.cc
index 84d00ad8e592b8c10310a8e31b26cf0f93e886b5..a608bdbe3fb8f1e5c9878e1865653d85019aee0c 100644
--- a/cc/base/resource_id.h
+++ b/cc/layers/layer_settings.cc
@@ -2,15 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_BASE_RESOURCE_ID_H_
-#define CC_BASE_RESOURCE_ID_H_
-
-#include <stdint.h>
+#include "cc/layers/layer_settings.h"
namespace cc {
-using ResourceId = uint32_t;
+LayerSettings::LayerSettings() : use_compositor_animation_timelines(false) {}
-} // namespace cc
+LayerSettings::~LayerSettings() {}
-#endif // CC_BASE_RESOURCE_ID_H_
+} // namespace cc
« no previous file with comments | « cc/layers/layer_settings.h ('k') | cc/layers/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698