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 d23c7983ecdae65d8afb4cc10ddda5c931e2dac3..209f2b6b8d84a6831bfde38c2811bf448ef155b0 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.cpp |
@@ -75,7 +75,7 @@ void LayoutTextControlSingleLine::paint(const PaintInfo& paintInfo, const Layout |
LayoutTextControl::paint(paintInfo, paintOffset); |
if (paintInfo.phase == PaintPhaseBlockBackground && m_shouldDrawCapsLockIndicator) { |
- if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*paintInfo.context, *this, paintInfo.phase, paintOffset)) |
+ if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(paintInfo.context, *this, paintInfo.phase, paintOffset)) |
return; |
LayoutRect contentsRect = contentBoxRect(); |
@@ -89,7 +89,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, paintOffset); |
LayoutTheme::theme().painter().paintCapsLockIndicator(*this, paintInfo, snappedRect); |
} |
} |