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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp

Issue 2667493002: Changed EPosition to an enum class and renamed its members (Closed)
Patch Set: Rebase Created 3 years, 10 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/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index a496cf22535439c43d60e28b0f793e4805232293..74fefefb6a647bfc054f3798ad8fa35ded663260 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -641,7 +641,7 @@ bool PaintLayerPainter::atLeastOneFragmentIntersectsDamageRect(
inline bool PaintLayerPainter::isFixedPositionObjectInPagedMedia() {
LayoutObject* object = m_paintLayer.layoutObject();
LayoutView* view = object->view();
- return object->styleRef().position() == FixedPosition &&
+ return object->styleRef().position() == EPosition::kFixed &&
object->container() == view && view->pageLogicalHeight() &&
// TODO(crbug.com/619094): Figure out the correct behaviour for fixed
// position objects in paged media with vertical writing modes.

Powered by Google App Engine
This is Rietveld 408576698