| 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 7e8abf2eee9083e75f12c1f003a7574fd3269c11..6558f635855b372a8798f91e32979886b57b8e18 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);
|
| }
|
| }
|
|
|