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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h

Issue 1394193003: Invalidate background-attachment:fixed on scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index e292c4d1cc5216bcb4d02ec064ddb664f332160e..93ef22f0bb6ca30dd352d4a8d77b1fe179a64b4b 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -78,7 +78,7 @@ public:
void scrollableAreasDidChange();
// Should be called whenever the slow repaint objects counter changes between zero and one.
- void frameViewHasSlowRepaintObjectsDidChange(FrameView*);
+ void frameViewHasBackgroundAttachmentFixedObjectsDidChange(FrameView*);
// Should be called whenever the set of fixed objects changes.
void frameViewFixedObjectsDidChange(FrameView*);
@@ -92,7 +92,7 @@ public:
#endif
enum MainThreadScrollingReasonFlags {
- HasSlowRepaintObjects = 1 << 0,
+ HasBackgroundAttachmentFixedObjects = 1 << 0,
HasNonLayerViewportConstrainedObjects = 1 << 1,
ThreadedScrollingDisabled = 1 << 2
};

Powered by Google App Engine
This is Rietveld 408576698