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

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: rename all SlowRepaint to BackgroundAttachmentFixed. rebaseline test. 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 ab9e7dca197a43cea3587ae18f011f1c3958010e..475b58b4b0ef4cb0a77abe02af6e404509d5480c 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