WebCore:
authorddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Jul 2006 11:59:06 +0000 (11:59 +0000)
committerddkilzer <ddkilzer@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Jul 2006 11:59:06 +0000 (11:59 +0000)
        Reviewed by Timothy Hatcher.  Build fix for Linux.  Patch by Shawn Stricker.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9684
          [GDK] multiple little fixes and a few new things for Templinkstubs

        * platform/gdk/ScrollViewGdk.cpp:
        (WebCore::ScrollView::setDrawable): Changed SCROLLBAR_SIZE to scrollbarSize.
        * platform/gdk/TemporaryLinkStubs.cpp:
        (Image::drawTiled): Added missing parameter to argument list.
        * platform/gdk/TransferJobManager.cpp:
        (WebCore::writeCallback): Added missing parenthesis to static_cast.

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

WebCore/ChangeLog
WebCore/platform/gdk/ScrollViewGdk.cpp
WebCore/platform/gdk/TemporaryLinkStubs.cpp
WebCore/platform/gdk/TransferJobManager.cpp

index 99221f4023963bcdd5a591aa396a2c33eaddf61b..c245e3d81140c90977d5bd9dd90e2abb1f8f6245 100644 (file)
@@ -1,3 +1,17 @@
+2006-07-02  Shawn Stricker  <kb1ibt@gmail.com>
+
+        Reviewed by Timothy Hatcher.  Build fix for Linux.
+
+        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9684
+          [GDK] multiple little fixes and a few new things for Templinkstubs
+
+        * platform/gdk/ScrollViewGdk.cpp:
+        (WebCore::ScrollView::setDrawable): Changed SCROLLBAR_SIZE to scrollbarSize.
+        * platform/gdk/TemporaryLinkStubs.cpp:
+        (Image::drawTiled): Added missing parameter to argument list.
+        * platform/gdk/TransferJobManager.cpp:
+        (WebCore::writeCallback): Added missing parenthesis to static_cast.
+
 2006-07-02  Mitz Pettel  <opendarwin.org@mitzpettel.com>
 
         Reviewed by Darin.
index ba72ff1c1e53b631497cc10a55e2e3ca344a5768..c6099b42624c40b895c4c385f8e074abc03e676b 100644 (file)
@@ -256,7 +256,7 @@ void ScrollView::setDrawable(GdkDrawable* gdkdrawable)
     gint x, y, width, height, depth;
     gdk_window_get_geometry(frame, &x, &y, &width, &height, &depth);
     m_data->scrollViewArea = IntRect(0, 0, width, height);
-    m_data->viewportArea = IntRect(0, 0, width - SCROLLBAR_SIZE, height - SCROLLBAR_SIZE);
+    m_data->viewportArea = IntRect(0, 0, width - scrollbarSize, height - scrollbarSize);
 }
 
 }
index 635b6c8944f681e5c0da7cb7f2b88c76674fafdf..eeb26f532da8ec084201eaf483e92fea4342128e 100644 (file)
@@ -360,7 +360,7 @@ void WebCore::setFocusRingColorChangeFunction(void (*)()) { }
 
 void Frame::setNeedsReapplyStyles() { }
 
-void Image::drawTiled(GraphicsContext*, const FloatRect&, const FloatRect&, TileRule, TileRule) { }
+void Image::drawTiled(GraphicsContext*, const FloatRect&, const FloatRect&, TileRule, TileRule, CompositeOperator) { }
 
 void RenderThemeGdk::setCheckboxSize(RenderStyle*) const { }
 bool RenderThemeGdk::paintButton(RenderObject*, const RenderObject::PaintInfo&, const IntRect&) { return false; }
index b79452a23816eaaefbb432e3346f0579319eb0d9..216f526ccf097714b6821d622a7a6b384ccfe9cd 100644 (file)
@@ -63,7 +63,7 @@ static size_t writeCallback(void* ptr, size_t size, size_t nmemb, void* obj)
     TransferJob* job = static_cast<TransferJob*>(obj);
     TransferJobInternal* d = job->getInternal();
     int totalSize = size * nmemb;
-    d->client->receivedData(job, static_cast<char*>ptr, totalSize);
+    d->client->receivedData(job, static_cast<char*>(ptr), totalSize);
     return totalSize;
 }