Title: [91163] trunk/Source/WebKit2
- Revision
- 91163
- Author
- [email protected]
- Date
- 2011-07-16 21:56:20 -0700 (Sat, 16 Jul 2011)
Log Message
2011-07-16 Daniel Bates <[email protected]>
Fix Win Cairo Debug build after <http://trac.webkit.org/changeset/91085>.
Add stub implementation of scale factor overloaded ShareableBitmap::paint() for
Cairo WebKit2 port after its usage in changeset <http://trac.webkit.org/changeset/91085>.
Also add stub implementation for GTK.
We'll need to actually implement this. See <https://bugs.webkit.org/show_bug.cgi?id=64664>
and <https://bugs.webkit.org/show_bug.cgi?id=64665> for Cairo and GTK, respectively.
* Shared/cairo/ShareableBitmapCairo.cpp:
(WebKit::ShareableBitmap::paint): Added scale-factor variant.
* Shared/gtk/ShareableBitmapGtk.cpp:
(WebKit::ShareableBitmap::paint): Added scale-factor variant.
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (91162 => 91163)
--- trunk/Source/WebKit2/ChangeLog 2011-07-17 04:21:47 UTC (rev 91162)
+++ trunk/Source/WebKit2/ChangeLog 2011-07-17 04:56:20 UTC (rev 91163)
@@ -1,5 +1,22 @@
2011-07-16 Daniel Bates <[email protected]>
+ Fix Win Cairo Debug build after <http://trac.webkit.org/changeset/91085>.
+
+ Add stub implementation of scale factor overloaded ShareableBitmap::paint() for
+ Cairo WebKit2 port after its usage in changeset <http://trac.webkit.org/changeset/91085>.
+
+ Also add stub implementation for GTK.
+
+ We'll need to actually implement this. See <https://bugs.webkit.org/show_bug.cgi?id=64664>
+ and <https://bugs.webkit.org/show_bug.cgi?id=64665> for Cairo and GTK, respectively.
+
+ * Shared/cairo/ShareableBitmapCairo.cpp:
+ (WebKit::ShareableBitmap::paint): Added scale-factor variant.
+ * Shared/gtk/ShareableBitmapGtk.cpp:
+ (WebKit::ShareableBitmap::paint): Added scale-factor variant.
+
+2011-07-16 Daniel Bates <[email protected]>
+
Fix Qt Linux Release build after changeset <http://trac.webkit.org/changeset/91085>
(https://bugs.webkit.org/show_bug.cgi?id=64611).
Modified: trunk/Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp (91162 => 91163)
--- trunk/Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp 2011-07-17 04:21:47 UTC (rev 91162)
+++ trunk/Source/WebKit2/Shared/cairo/ShareableBitmapCairo.cpp 2011-07-17 04:56:20 UTC (rev 91163)
@@ -32,6 +32,7 @@
#include <WebCore/CairoUtilities.h>
#include <WebCore/GraphicsContext.h>
#include <WebCore/PlatformContextCairo.h>
+#include <WebCore/NotImplemented.h>
using namespace WebCore;
@@ -54,6 +55,12 @@
context.platformContext()->drawSurfaceToContext(surface.get(), destRect, srcRect, &context);
}
+void ShareableBitmap::paint(GraphicsContext&, float /*scaleFactor*/, const IntPoint& /*dstPoint*/, const IntRect& /*srcRect*/)
+{
+ // See <https://bugs.webkit.org/show_bug.cgi?id=64665>.
+ notImplemented();
+}
+
PassRefPtr<cairo_surface_t> ShareableBitmap::createCairoSurface()
{
RefPtr<cairo_surface_t> image = adoptRef(cairo_image_surface_create_for_data(static_cast<unsigned char*>(data()),
Modified: trunk/Source/WebKit2/Shared/gtk/ShareableBitmapGtk.cpp (91162 => 91163)
--- trunk/Source/WebKit2/Shared/gtk/ShareableBitmapGtk.cpp 2011-07-17 04:21:47 UTC (rev 91162)
+++ trunk/Source/WebKit2/Shared/gtk/ShareableBitmapGtk.cpp 2011-07-17 04:56:20 UTC (rev 91163)
@@ -44,5 +44,11 @@
{
notImplemented();
}
+
+void ShareableBitmap::paint(WebCore::GraphicsContext&, float scaleFactor, const WebCore::IntPoint& dstPoint, const WebCore::IntRect& srcRect)
+{
+ // See <https://bugs.webkit.org/show_bug.cgi?id=64664>.
+ notImplemented();
+}
} // namespace WebKit
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes