Title: [164344] trunk/Source/WebKit2
Revision
164344
Author
timothy_hor...@apple.com
Date
2014-02-18 18:39:57 -0800 (Tue, 18 Feb 2014)

Log Message

More more WK_API_ENABLED after r164337.

* UIProcess/API/mac/PageClientImpl.mm:
(WebKit::PageClientImpl::activeView):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (164343 => 164344)


--- trunk/Source/WebKit2/ChangeLog	2014-02-19 02:34:38 UTC (rev 164343)
+++ trunk/Source/WebKit2/ChangeLog	2014-02-19 02:39:57 UTC (rev 164344)
@@ -1,5 +1,12 @@
 2014-02-18  Tim Horton  <timothy_hor...@apple.com>
 
+        More more WK_API_ENABLED after r164337.
+
+        * UIProcess/API/mac/PageClientImpl.mm:
+        (WebKit::PageClientImpl::activeView):
+
+2014-02-18  Tim Horton  <timothy_hor...@apple.com>
+
         Can't use #if inside a macro, so we'll duplicate the macro for now.
 
         Build fix for all of Mac.

Modified: trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm (164343 => 164344)


--- trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm	2014-02-19 02:34:38 UTC (rev 164343)
+++ trunk/Source/WebKit2/UIProcess/API/mac/PageClientImpl.mm	2014-02-19 02:39:57 UTC (rev 164344)
@@ -169,7 +169,11 @@
 
 NSView *PageClientImpl::activeView() const
 {
+#if WK_API_ENABLED
     return m_wkView._thumbnailView ? (NSView *)m_wkView._thumbnailView : (NSView *)m_wkView;
+#else
+    return m_wkView;
+#endif
 }
 
 bool PageClientImpl::isViewWindowActive()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to