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

Unified Diff: cc/layers/layer_utils.h

Issue 734063004: Update from https://crrev.com/304418 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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_unittest.cc ('k') | cc/layers/layer_utils_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_utils.h
diff --git a/cc/layers/layer_utils.h b/cc/layers/layer_utils.h
index 396f070410973fb89718d61db941028107685000..bef37f4c7c651baee6de0cce694cb6ec1cfc3480 100644
--- a/cc/layers/layer_utils.h
+++ b/cc/layers/layer_utils.h
@@ -8,21 +8,21 @@
#include "cc/base/cc_export.h"
namespace gfx {
- class BoxF;
+class BoxF;
} // namespace gfx
namespace cc {
- class LayerImpl;
+class LayerImpl;
- class CC_EXPORT LayerUtils {
- public:
- // Computes a box in screen space that should entirely contain the layer's
- // bounds through the entirety of the layer's current animation. Returns
- // true and sets |out| to the inflation if there are animations that can
- // inflate bounds in the path to the root layer and that it was able to
- // inflate correctly. Returns false otherwise.
- static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out);
- };
+class CC_EXPORT LayerUtils {
+ public:
+ // Computes a box in screen space that should entirely contain the layer's
+ // bounds through the entirety of the layer's current animation. Returns
+ // true and sets |out| to the inflation if there are animations that can
+ // inflate bounds in the path to the root layer and that it was able to
+ // inflate correctly. Returns false otherwise.
+ static bool GetAnimationBounds(const LayerImpl& layer, gfx::BoxF* out);
+};
} // namespace cc
« no previous file with comments | « cc/layers/layer_unittest.cc ('k') | cc/layers/layer_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698