| 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 536a1f3e1e96f273c2b477c8a6e05a00cf7255af..e7fa73208aca5c3273f23f98d9dab1b33eb890bc 100644
|
| --- a/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FileUploadControlPainter.cpp
|
| @@ -32,7 +32,7 @@ void FileUploadControlPainter::paintObject(const PaintInfo& paintInfo, const Lay
|
| clipRecorder.emplace(paintInfo.context, m_layoutFileUploadControl, DisplayItem::ClipFileUploadControlRect, LayoutRect(clipRect));
|
| }
|
|
|
| - if (paintInfo.phase == PaintPhaseForeground && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutFileUploadControl, paintInfo.phase, paintOffset)) {
|
| + if (paintInfo.phase == PaintPhaseForeground && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, m_layoutFileUploadControl, paintInfo.phase)) {
|
| const String& displayedFilename = m_layoutFileUploadControl.fileTextValue();
|
| const Font& font = m_layoutFileUploadControl.style()->font();
|
| TextRun textRun = constructTextRun(font, displayedFilename, m_layoutFileUploadControl.styleRef(), RespectDirection | RespectDirectionOverride);
|
| @@ -66,7 +66,7 @@ void FileUploadControlPainter::paintObject(const PaintInfo& paintInfo, const Lay
|
| textWidth, m_layoutFileUploadControl.style()->fontMetrics().height());
|
|
|
| // Draw the filename.
|
| - LayoutObjectDrawingRecorder recorder(paintInfo.context, m_layoutFileUploadControl, paintInfo.phase, textRunPaintInfo.bounds, paintOffset);
|
| + LayoutObjectDrawingRecorder recorder(paintInfo.context, m_layoutFileUploadControl, paintInfo.phase, textRunPaintInfo.bounds);
|
| paintInfo.context.setFillColor(m_layoutFileUploadControl.resolveColor(CSSPropertyColor));
|
| paintInfo.context.drawBidiText(font, textRunPaintInfo, FloatPoint(roundToInt(textX), roundToInt(textY)));
|
| }
|
|
|