Index: Source/core/rendering/RenderImage.cpp |
diff --git a/Source/core/rendering/RenderImage.cpp b/Source/core/rendering/RenderImage.cpp |
index 70479a835c204afbd75a74ad2dd458de0497dcaa..b76d5ca98e03e74cd4fb393e3f928a29945441a1 100644 |
--- a/Source/core/rendering/RenderImage.cpp |
+++ b/Source/core/rendering/RenderImage.cpp |
@@ -37,7 +37,6 @@ |
#include "core/html/HTMLMapElement.h" |
#include "core/inspector/InspectorInstrumentation.h" |
#include "core/frame/Frame.h" |
-#include "core/page/Page.h" |
#include "core/platform/graphics/Font.h" |
#include "core/platform/graphics/FontCache.h" |
#include "core/platform/graphics/GraphicsContext.h" |
@@ -303,10 +302,6 @@ void RenderImage::paintReplaced(PaintInfo& paintInfo, const LayoutPoint& paintOf |
GraphicsContext* context = paintInfo.context; |
- Page* page = 0; |
- if (Frame* frame = this->frame()) |
- page = frame->page(); |
- |
if (!m_imageResource->hasImage() || m_imageResource->errorOccurred()) { |
if (paintInfo.phase == PaintPhaseSelection) |
return; |