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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h

Issue 2593833002: Constrain transform animation direct compositing reason to transforms. (Closed)
Patch Set: Shift 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
index 6b4ab0666e6f8f7f6de615752c506735f62bbbcf..b2afffc65a30625124853778fdfe8d35026bfbb5 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -5,6 +5,7 @@
#ifndef CompositingReasonFinder_h
#define CompositingReasonFinder_h
+#include "core/CoreExport.h"
#include "core/layout/compositing/CompositingTriggers.h"
#include "platform/graphics/CompositingReasons.h"
#include "wtf/Allocator.h"
@@ -17,7 +18,7 @@ class LayoutObject;
class ComputedStyle;
class LayoutView;
-class CompositingReasonFinder {
+class CORE_EXPORT CompositingReasonFinder {
DISALLOW_NEW();
WTF_MAKE_NONCOPYABLE(CompositingReasonFinder);
@@ -32,6 +33,7 @@ class CompositingReasonFinder {
bool hasOverflowScrollTrigger() const;
bool requiresCompositingForScrollableFrame() const;
static bool requiresCompositingForAnimation(const ComputedStyle&);
+ static bool requiresCompositingForTransformAnimation(const ComputedStyle&);
static bool requiresCompositingForTransform(const LayoutObject&);
private:
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698