Index: content/renderer/render_widget.h |
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h |
index 8883dd44c6e6630453ad0e62e0f65fb4296f9c26..3cffee421e5433e7848a1606b604642099df93b4 100644 |
--- a/content/renderer/render_widget.h |
+++ b/content/renderer/render_widget.h |
@@ -423,7 +423,7 @@ class CONTENT_EXPORT RenderWidget |
// Used to force the size of a window when running layout tests. |
void SetWindowRectSynchronously(const gfx::Rect& new_window_rect); |
-#if defined(OS_MACOSX) || defined(OS_ANDROID) |
+#if defined(USE_EXTERNAL_POPUP_MENU) |
void SetExternalPopupOriginAdjustmentsForEmulation( |
ExternalPopupMenu* popup, |
RenderWidgetScreenMetricsEmulator* emulator); |