Unreviewed Windows build fix for r238049.
authorross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Nov 2018 23:04:58 +0000 (23:04 +0000)
committerross.kirsling@sony.com <ross.kirsling@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 9 Nov 2018 23:04:58 +0000 (23:04 +0000)
* WebView.cpp:
(WebView::initWithFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238059 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKitLegacy/win/ChangeLog
Source/WebKitLegacy/win/WebView.cpp

index 0578815..931f24d 100644 (file)
@@ -1,5 +1,12 @@
 2018-11-09  Ross Kirsling  <ross.kirsling@sony.com>
 
+        Unreviewed Windows build fix for r238049.
+
+        * WebView.cpp:
+        (WebView::initWithFrame):
+
+2018-11-09  Ross Kirsling  <ross.kirsling@sony.com>
+
         Unreviewed MSVC build fix after r238039 (and r238046).
 
         * WebDocumentLoader.h:
index 88e529a..1ea915a 100644 (file)
@@ -3128,9 +3128,7 @@ HRESULT WebView::initWithFrame(RECT frame, _In_ BSTR frameName, _In_ BSTR groupN
     m_page = new Page(WTFMove(configuration));
     provideGeolocationTo(m_page, *new WebGeolocationClient(this));
 
-    unsigned layoutMilestones = DidFirstLayout | DidFirstVisuallyNonEmptyLayout;
-    m_page->addLayoutMilestones(static_cast<LayoutMilestones>(layoutMilestones));
-
+    m_page->addLayoutMilestones({ DidFirstLayout, DidFirstVisuallyNonEmptyLayout });
 
     if (m_uiDelegate) {
         BString path;