Unreviewed, fix the Mac debug build after r220418.
authorwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Aug 2017 21:06:18 +0000 (21:06 +0000)
committerwenson_hsieh@apple.com <wenson_hsieh@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 8 Aug 2017 21:06:18 +0000 (21:06 +0000)
* UIProcess/Cocoa/WebViewImpl.mm:
(WebKit::WebViewImpl::prepareForMoveToWindow):

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm

index 7d8b4bff23e423bc6e3971c3e5515d104534214e..ff30b3731507a35142e9e18520502d67080f0c65 100644 (file)
@@ -1,3 +1,10 @@
+2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
+
+        Unreviewed, fix the Mac debug build after r220418.
+
+        * UIProcess/Cocoa/WebViewImpl.mm:
+        (WebKit::WebViewImpl::prepareForMoveToWindow):
+
 2017-08-08  Wenson Hsieh  <wenson_hsieh@apple.com>
 
         [Mac WK2] WebViewImpl should hold a weak pointer to its WKWebView or WKView
index 530f47fe7c425a3cb2ff3cc8c80980d956966253..52d2f9cfbad42aab978f93d9f5137e5ab7c2d4c8 100644 (file)
@@ -2223,7 +2223,7 @@ void WebViewImpl::prepareForMoveToWindow(NSWindow *targetWindow, WTF::Function<v
         if (!weakThis)
             return;
 
-        ASSERT(weakThis->[m_view window] == weakThis->m_targetWindowForMovePreparation);
+        ASSERT([weakThis->m_view window] == weakThis->m_targetWindowForMovePreparation);
         weakThis->m_targetWindowForMovePreparation = nil;
     });