Index: Source/core/rendering/RenderEmbeddedObject.cpp |
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp |
index b3d6e273c622e27347bca7287967944aa714d7aa..77405ea59123f2de8c73840bd1ffef723da731f7 100644 |
--- a/Source/core/rendering/RenderEmbeddedObject.cpp |
+++ b/Source/core/rendering/RenderEmbeddedObject.cpp |
@@ -127,13 +127,13 @@ void RenderEmbeddedObject::paint(PaintInfo& paintInfo, const LayoutPoint& paintO |
page = frame->page(); |
if (showsUnavailablePluginIndicator()) { |
- if (page && paintInfo.phase == PaintPhaseForeground) |
+ if (page && paintInfo.getPhase() == PaintPhaseForeground) |
page->addRelevantUnpaintedObject(this, visualOverflowRect()); |
RenderReplaced::paint(paintInfo, paintOffset); |
return; |
} |
- if (page && paintInfo.phase == PaintPhaseForeground) |
+ if (page && paintInfo.getPhase() == PaintPhaseForeground) |
page->addRelevantRepaintedObject(this, visualOverflowRect()); |
RenderPart::paint(paintInfo, paintOffset); |
@@ -144,10 +144,10 @@ void RenderEmbeddedObject::paintReplaced(PaintInfo& paintInfo, const LayoutPoint |
if (!showsUnavailablePluginIndicator()) |
return; |
- if (paintInfo.phase == PaintPhaseSelection) |
+ if (paintInfo.getPhase() == PaintPhaseSelection) |
return; |
- GraphicsContext* context = paintInfo.context; |
+ GraphicsContext* context = paintInfo.getContext(); |
if (context->paintingDisabled()) |
return; |