Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / web / tests / PopupMenuTest.cpp
index 62dbe87..5153c51 100644 (file)
@@ -102,7 +102,7 @@ public:
     {
         FontDescription fontDescription;
         fontDescription.setComputedSize(12.0);
-        Font font(fontDescription, 0, 0);
+        Font font(fontDescription);
         font.update(0);
         return PopupMenuStyle(Color::black, Color::white, font, true, false, Length(), TextDirection(), false /* has text direction override */);
     }
@@ -203,7 +203,6 @@ protected:
     {
         m_popupMenu->show(FloatQuad(FloatRect(0, 0, 100, 100)), IntSize(100, 100), 0);
         ASSERT_TRUE(popupOpen());
-        EXPECT_TRUE(webView()->selectPopup()->popupType() == PopupContainer::Select);
     }
 
     void hidePopup()