Index: Source/core/rendering/RenderEmbeddedObject.cpp |
diff --git a/Source/core/rendering/RenderEmbeddedObject.cpp b/Source/core/rendering/RenderEmbeddedObject.cpp |
index de41af3d27f666fec1d6780b17dc3e5a7603dfd4..ff7a5f0aae4b58510daf4432ab9a42ac4636b0dc 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; |