Index: content/renderer/npapi/webplugin_delegate_proxy.cc |
diff --git a/content/renderer/npapi/webplugin_delegate_proxy.cc b/content/renderer/npapi/webplugin_delegate_proxy.cc |
index 7d5bf548ab0b0b0500ed2fddb7b993317cd63210..0899c2129dfbe47429221eede64bc86d95d420ba 100644 |
--- a/content/renderer/npapi/webplugin_delegate_proxy.cc |
+++ b/content/renderer/npapi/webplugin_delegate_proxy.cc |
@@ -666,14 +666,6 @@ bool WebPluginDelegateProxy::CreateSharedBitmap( |
return !!canvas->get(); |
} |
-#if defined(OS_MACOSX) |
-// Flips |rect| vertically within an enclosing rect with height |height|. |
-// Intended for converting rects between flipped and non-flipped contexts. |
-static void FlipRectVerticallyWithHeight(gfx::Rect* rect, int height) { |
- rect->set_y(height - rect->bottom()); |
-} |
-#endif |
- |
void WebPluginDelegateProxy::Paint(SkCanvas* canvas, |
const gfx::Rect& damaged_rect) { |
// Limit the damaged rectangle to whatever is contained inside the plugin |