Windows build fix
[WebKit-https.git] / WebCore / loader / FrameLoader.cpp
index 9ee4f127e13a152d6b2013519618c8aab5d2ef89..0e8261eaac1279726d09e2866dd29dce9053c40f 100644 (file)
@@ -1697,11 +1697,14 @@ static HTMLPlugInElement* toPlugInElement(Node* node)
     if (!node)
         return 0;
 
-    ASSERT(node->hasTagName(objectTag) || node->hasTagName(embedTag) 
 #if ENABLE(PLUGIN_PROXY_FOR_VIDEO)
+    ASSERT(node->hasTagName(objectTag) || node->hasTagName(embedTag) 
         || node->hasTagName(videoTag) || node->hasTagName(audioTag)
-#endif
         || node->hasTagName(appletTag));
+#else
+    ASSERT(node->hasTagName(objectTag) || node->hasTagName(embedTag) 
+        || node->hasTagName(appletTag));
+#endif
 
     return static_cast<HTMLPlugInElement*>(node);
 }