| Index: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| index 76edabec1dba29ae9bba009a3deebf79b17cc248..c952ca7a98902d9536f7397c8dfff3257a5592a4 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp
|
| @@ -73,7 +73,7 @@ void LayoutTextControlSingleLine::paint(const PaintInfo& paintInfo, const Layout
|
| LayoutTextControl::paint(paintInfo, paintOffset);
|
|
|
| if (shouldPaintSelfBlockBackground(paintInfo.phase) && m_shouldDrawCapsLockIndicator) {
|
| - if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, *this, paintInfo.phase, paintOffset))
|
| + if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, *this, paintInfo.phase))
|
| return;
|
|
|
| LayoutRect contentsRect = contentBoxRect();
|
| @@ -87,7 +87,7 @@ void LayoutTextControlSingleLine::paint(const PaintInfo& paintInfo, const Layout
|
| // Convert the rect into the coords used for painting the content
|
| contentsRect.moveBy(paintOffset + location());
|
| IntRect snappedRect = pixelSnappedIntRect(contentsRect);
|
| - LayoutObjectDrawingRecorder recorder(paintInfo.context, *this, paintInfo.phase, snappedRect, paintOffset);
|
| + LayoutObjectDrawingRecorder recorder(paintInfo.context, *this, paintInfo.phase, snappedRect);
|
| LayoutTheme::theme().painter().paintCapsLockIndicator(*this, paintInfo, snappedRect);
|
| }
|
| }
|
|
|