Index: third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp |
diff --git a/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp b/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp |
index bc07be10fec40ac2705fb4d4107c7b61cf3fe00c..e33c6fc455a56c4c6d4108d706746e06559a5e8c 100644 |
--- a/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp |
+++ b/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp |
@@ -23,7 +23,7 @@ void FileUploadControlPainter::paintObject(const PaintInfo& paintInfo, const Lay |
// Push a clip. |
Optional<ClipRecorder> clipRecorder; |
- if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseDescendantBlockBackgrounds) { |
+ if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseDescendantBlockBackgroundsOnly) { |
IntRect clipRect = enclosingIntRect(LayoutRect( |
LayoutPoint(paintOffset.x() + m_layoutFileUploadControl.borderLeft(), paintOffset.y() + m_layoutFileUploadControl.borderTop()), |
m_layoutFileUploadControl.size() + LayoutSize(0, -m_layoutFileUploadControl.borderWidth() + buttonShadowHeight))); |