Index: content/renderer/render_widget.cc |
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc |
index 5dad6a896032f95a839de84eb189e9b71a8437f7..a7d25020b4dfc937ce05a13394ce1c5463250de8 100644 |
--- a/content/renderer/render_widget.cc |
+++ b/content/renderer/render_widget.cc |
@@ -434,7 +434,7 @@ gfx::Rect RenderWidget::AdjustValidationMessageAnchor(const gfx::Rect& anchor) { |
return anchor; |
} |
-#if defined(OS_MACOSX) || defined(OS_ANDROID) |
+#if defined(USE_EXTERNAL_POPUP_MENU) |
void RenderWidget::SetExternalPopupOriginAdjustmentsForEmulation( |
ExternalPopupMenu* popup, |
RenderWidgetScreenMetricsEmulator* emulator) { |