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

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

Issue 2461463004: Resize background-attachment: fixed when inertTopControls is enabled. (Closed)
Patch Set: Created 4 years, 2 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/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index a93e2540f79191f9f6fe6b803ad23e2cf4ddd55f..7c6f31bc237d97fa69926a7c800f80077e270997 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -229,6 +229,9 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
// It is very likely you do not want to call this method.
void setShouldDoFullPaintInvalidationForViewAndAllDescendants();
+ void setShouldDoFullPaintInvalidationOnResizeIfNeeded(bool widthChanged,
+ bool heightChanged);
+
// The document scrollbar is always on the right, even in RTL. This is to
// prevent it from moving around on navigations.
// TODO(skobes): This is not quite the ideal behavior, see
@@ -273,8 +276,6 @@ class CORE_EXPORT LayoutView final : public LayoutBlockFlow {
void checkLayoutState();
#endif
- void setShouldDoFullPaintInvalidationOnResizeIfNeeded();
-
void updateFromStyle() override;
bool allowsOverflowClip() const override;

Powered by Google App Engine
This is Rietveld 408576698