Changeset 152950 for trunk/dports/www
- Timestamp:
- Sep 21, 2016, 7:36:24 AM (2 years ago)
- Location:
- trunk/dports/www/webkit2-gtk-devel/files
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/www/webkit2-gtk-devel/files/PR-162261.patch
r152917 r152950 1 1 diff --git a/Source/WebCore/platform/PlatformPasteboard.h b/Source/WebCore/platform/PlatformPasteboard.h 2 index 695bc0e.. 529ba131006442 index 695bc0e..1bfdfa4 100644 3 3 --- Source/WebCore/platform/PlatformPasteboard.h 4 4 +++ Source/WebCore/platform/PlatformPasteboard.h 5 @@ -26,6 +26, 8@@5 @@ -26,6 +26,7 @@ 6 6 #ifndef PlatformPasteboard_h 7 7 #define PlatformPasteboard_h 8 8 9 9 +#include <functional> 10 +11 10 #include <wtf/Forward.h> 12 11 #include <wtf/RefCounted.h> 13 12 #include <wtf/RetainPtr.h> 14 13 diff --git a/Source/WebCore/platform/gtk/PasteboardHelper.h b/Source/WebCore/platform/gtk/PasteboardHelper.h 15 index b15fbef.. f98230d10064414 index b15fbef..3f3c8da 100644 16 15 --- Source/WebCore/platform/gtk/PasteboardHelper.h 17 16 +++ Source/WebCore/platform/gtk/PasteboardHelper.h 18 @@ -25,6 +25,8 @@ 19 #ifndef PasteboardHelper_h 17 @@ -26,6 +26,7 @@ 20 18 #define PasteboardHelper_h 21 19 20 #include "GRefPtrGtk.h" 22 21 +#include <functional> 23 +24 #include "GRefPtrGtk.h"25 22 #include <wtf/Noncopyable.h> 26 23 #include <wtf/Vector.h> 24 #include <wtf/glib/GRefPtr.h> -
trunk/dports/www/webkit2-gtk-devel/files/PR-162302.patch
r152917 r152950 1 1 diff --git a/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp b/Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 2 index 4fed6e9.. 34dfe25 1006442 index 4fed6e9..c58d835 100644 3 3 --- Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 4 4 +++ Source/WebCore/platform/gtk/ScrollbarThemeGtk.cpp 5 @@ -544,12 +544,12 @@ bool ScrollbarThemeGtk::paint(Scrollbar& scrollbar, GraphicsContext& graphicsCon 6 if (scrollbar.orientation() == VerticalScrollbar) { 7 if (rect.width() != preferredSize.width()) { 8 if (!scrollbarOnLeft) 9 - contentsRect.move(std::abs(rect.width() - preferredSize.width()), 0); 10 + contentsRect.move(std::abs((double)(rect.width() - preferredSize.width())), 0); 11 contentsRect.setWidth(preferredSize.width()); 12 } 13 } else { 14 if (rect.height() != preferredSize.height()) { 15 - contentsRect.move(0, std::abs(rect.height() - preferredSize.height())); 16 + contentsRect.move(0, std::abs((double)(rect.height() - preferredSize.height()))); 17 contentsRect.setHeight(preferredSize.height()); 18 } 19 } 5 @@ -33,6 +33,7 @@ 6 #include "RenderThemeGadget.h" 7 #include "ScrollView.h" 8 #include "Scrollbar.h" 9 +#include <cstdlib> 10 #include <gtk/gtk.h> 11 12 namespace WebCore {
Note: See TracChangeset
for help on using the changeset viewer.