| Index: Source/core/rendering/RenderInputSpeech.cpp
|
| diff --git a/Source/core/rendering/RenderInputSpeech.cpp b/Source/core/rendering/RenderInputSpeech.cpp
|
| index c6e83eec16caa47af85e39f136b2879c77335e6c..5d62fd520e3326367a3fe87026905ab813e7c7e4 100644
|
| --- a/Source/core/rendering/RenderInputSpeech.cpp
|
| +++ b/Source/core/rendering/RenderInputSpeech.cpp
|
| @@ -53,7 +53,7 @@ void RenderInputSpeech::adjustInputFieldSpeechButtonStyle(RenderStyle* style, El
|
| style->setHeight(Length(speechButtonSize, Fixed));
|
| }
|
|
|
| -bool RenderInputSpeech::paintInputFieldSpeechButton(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect)
|
| +bool RenderInputSpeech::paintInputFieldSpeechButton(RenderObject* object, PaintInfo& paintInfo, const IntRect& rect)
|
| {
|
| Element* element = object->node()->isElementNode() ? toElement(object->node()) : 0;
|
| if (!element || !element->isInputFieldSpeechButtonElement())
|
| @@ -92,7 +92,7 @@ bool RenderInputSpeech::paintInputFieldSpeechButton(RenderObject* object, const
|
| image = imageStateRecording.get();
|
| else if (speechButton->state() == InputFieldSpeechButtonElement::Recognizing)
|
| image = imageStateWaiting.get();
|
| - paintInfo.context->drawImage(image, pixelSnappedIntRect(buttonRect));
|
| + paintInfo.getContext()->drawImage(image, pixelSnappedIntRect(buttonRect));
|
|
|
| return false;
|
| }
|
|
|