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

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

Issue 2839263002: Don't promote position: fixed elements with composited descendants if they don't scroll (Closed)
Patch Set: Also rename the expected file Created 3 years, 8 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: 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 1751807c7bb373541cdb02cea5e7e6b0db49d7d2..1fa18d9d7c9402bad216a2ce7268c9b1de0eba55 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.h
@@ -45,16 +45,16 @@ class CORE_EXPORT CompositingReasonFinder {
static bool RequiresCompositingForTransformAnimation(const ComputedStyle&);
static bool RequiresCompositingForTransform(const LayoutObject&);
+ bool RequiresCompositingForScrollDependentPosition(
+ const PaintLayer*,
+ bool ignore_lcd_text) const;
+
private:
bool IsMainFrame() const;
CompositingReasons NonStyleDeterminedDirectReasons(
const PaintLayer*,
bool ignore_lcd_text) const;
- bool RequiresCompositingForScrollDependentPosition(
- const PaintLayer*,
- bool ignore_lcd_text) const;
-
LayoutView& layout_view_;
CompositingTriggerFlags compositing_triggers_;
};

Powered by Google App Engine
This is Rietveld 408576698