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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2578343002: Support compositing for active animations in SPv2. (Closed)
Patch Set: Added unit tests. Created 4 years 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: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 5757694cf4caa5d19d02c67548108868b68b706a..5149cb2fdddb8091405079f1e27d01e15a4785ae 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1699,6 +1699,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
protected:
friend class PaintPropertyTreeBuilder;
+ FRIEND_TEST_ALL_PREFIXES(AnimationCompositorAnimationsTest,
wkorman 2016/12/16 23:08:00 I am not happy about having to do this, but it's j
chrishtr 2016/12/17 00:05:43 Which method do you need that is private?
wkorman 2016/12/17 00:18:27 CompositorAnimationsTest has to be able to call:
+ canStartAnimationOnCompositorTransformSPv2);
+
// The following two functions can be called from PaintPropertyTreeBuilder
// only.
ObjectPaintProperties& ensurePaintProperties() {

Powered by Google App Engine
This is Rietveld 408576698