Index: Source/core/rendering/RenderImage.cpp |
diff --git a/Source/core/rendering/RenderImage.cpp b/Source/core/rendering/RenderImage.cpp |
index 3f1f4682c575820ada4935ec99bb2e53c13a2022..28e3f30759ed3dca6135b63c05b778193e26d451 100644 |
--- a/Source/core/rendering/RenderImage.cpp |
+++ b/Source/core/rendering/RenderImage.cpp |
@@ -46,7 +46,6 @@ |
#include "platform/fonts/FontCache.h" |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/GraphicsContextStateSaver.h" |
-#include "wtf/UnusedParam.h" |
using namespace std; |
@@ -486,9 +485,8 @@ bool RenderImage::boxShadowShouldBeAppliedToBackground(BackgroundBleedAvoidance |
return !const_cast<RenderImage*>(this)->backgroundIsKnownToBeObscured(); |
} |
-bool RenderImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned maxDepthToTest) const |
+bool RenderImage::foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, unsigned) const |
{ |
- UNUSED_PARAM(maxDepthToTest); |
if (!m_imageResource->hasImage() || m_imageResource->errorOccurred()) |
return false; |
if (m_imageResource->cachedImage() && !m_imageResource->cachedImage()->isLoaded()) |