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

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

Issue 2916493002: Make SelectionState enum class (Closed)
Patch Set: Created 3 years, 7 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/BoxClipper.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxClipper.cpp b/third_party/WebKit/Source/core/paint/BoxClipper.cpp
index dd368f7e740716b53c47468b76ebcd9bafdecee6..eff3427db7279a36fa1264a16c70d9fca82f58d5 100644
--- a/third_party/WebKit/Source/core/paint/BoxClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxClipper.cpp
@@ -70,7 +70,7 @@ BoxClipper::BoxClipper(const LayoutBox& box,
// Selection may extend beyond visual overflow, so this optimization is
// invalid if selection is present.
if (contents_clip_behavior == kSkipContentsClipIfPossible &&
- box.GetSelectionState() == SelectionNone) {
+ box.GetSelectionState() == SelectionState::kNone) {
LayoutRect contents_visual_overflow = box_.ContentsVisualOverflowRect();
if (contents_visual_overflow.IsEmpty())
return;
« no previous file with comments | « third_party/WebKit/Source/core/page/TouchAdjustment.cpp ('k') | third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698