Build fix for 32-bit Yosemite
[WebKit-https.git] / Source / WebKit / mac / WebCoreSupport / WebContextMenuClient.mm
index 2671e36f0784d8fd59a9bd60c8a22e439b452e8f..2faf896d6770b92844bc77ebc9c5c9dbc0596369 100644 (file)
@@ -482,7 +482,7 @@ NSMenu *WebContextMenuClient::contextMenuForEvent(NSEvent *event, NSView *view,
     if (!page)
         return nil;
 
-#if ENABLE(SERVICE_CONTROLS)
+#if ENABLE(SERVICE_CONTROLS) && defined(__LP64__)
     if (Image* image = page->contextMenuController().context().controlledImage()) {
         ASSERT(page->contextMenuController().context().hitTestResult().innerNode());