Unreviewed. Fix GTK+ build after r164702.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Feb 2014 09:02:20 +0000 (09:02 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Feb 2014 09:02:20 +0000 (09:02 +0000)
* UIProcess/DrawingAreaProxy.cpp:

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/DrawingAreaProxy.cpp

index 12413fb..62fb1ff 100644 (file)
@@ -1,3 +1,9 @@
+2014-02-26  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Fix GTK+ build after r164702.
+
+        * UIProcess/DrawingAreaProxy.cpp:
+
 2014-02-26  Martin Robinson  <mrobinson@igalia.com>
 
         [GTK] generate-gtkdoc can fail with WebKit1 or WebKit2 only builds
index c1921c6..5d16497 100644 (file)
@@ -87,6 +87,7 @@ void DrawingAreaProxy::exposedRectChangedTimerFired()
 }
 #endif // PLATFORM(MAC)
 
+#if PLATFORM(COCOA)
 void DrawingAreaProxy::setCustomFixedPositionRect(const FloatRect& fixedPositionRect)
 {
     if (!m_webPageProxy->isValid())
@@ -94,5 +95,6 @@ void DrawingAreaProxy::setCustomFixedPositionRect(const FloatRect& fixedPosition
 
     m_webPageProxy->process().send(Messages::DrawingArea::SetCustomFixedPositionRect(fixedPositionRect), m_webPageProxy->pageID());
 }
+#endif
 
 } // namespace WebKit