Title: [145213] trunk/Source/WebKit2
- Revision
- 145213
- Author
- mikhail.pozdnya...@intel.com
- Date
- 2013-03-08 06:13:35 -0800 (Fri, 08 Mar 2013)
Log Message
[WK2][EFL] Remove EwkView::setImageData()
https://bugs.webkit.org/show_bug.cgi?id=111849
Reviewed by Andreas Kling.
EwkView::setImageData() removed as it is not used at the moment
(it used to be part of eliminated non coord graphics code path).
* UIProcess/API/efl/EwkView.cpp:
* UIProcess/API/efl/EwkView.h:
(EwkView):
* UIProcess/cairo/BackingStoreCairo.cpp:
(WebKit::BackingStore::incorporateUpdate):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (145212 => 145213)
--- trunk/Source/WebKit2/ChangeLog 2013-03-08 14:12:56 UTC (rev 145212)
+++ trunk/Source/WebKit2/ChangeLog 2013-03-08 14:13:35 UTC (rev 145213)
@@ -1,3 +1,19 @@
+2013-03-08 Mikhail Pozdnyakov <mikhail.pozdnya...@intel.com>
+
+ [WK2][EFL] Remove EwkView::setImageData()
+ https://bugs.webkit.org/show_bug.cgi?id=111849
+
+ Reviewed by Andreas Kling.
+
+ EwkView::setImageData() removed as it is not used at the moment
+ (it used to be part of eliminated non coord graphics code path).
+
+ * UIProcess/API/efl/EwkView.cpp:
+ * UIProcess/API/efl/EwkView.h:
+ (EwkView):
+ * UIProcess/cairo/BackingStoreCairo.cpp:
+ (WebKit::BackingStore::incorporateUpdate):
+
2013-03-08 Carlos Garcia Campos <cgar...@igalia.com>
[GTK] Memory leak in webkit_web_view_load_request() in WebKit2 API
Modified: trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp (145212 => 145213)
--- trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp 2013-03-08 14:12:56 UTC (rev 145212)
+++ trunk/Source/WebKit2/UIProcess/API/efl/EwkView.cpp 2013-03-08 14:13:35 UTC (rev 145213)
@@ -624,17 +624,6 @@
}
}
-void EwkView::setImageData(void* imageData, const IntSize& size)
-{
- Ewk_View_Smart_Data* sd = smartData();
- if (!imageData || !sd->image)
- return;
-
- evas_object_resize(sd->image, size.width(), size.height());
- evas_object_image_size_set(sd->image, size.width(), size.height());
- evas_object_image_data_copy_set(sd->image, imageData);
-}
-
bool EwkView::isFocused() const
{
return evas_object_focus_get(m_evasObject);
Modified: trunk/Source/WebKit2/UIProcess/API/efl/EwkView.h (145212 => 145213)
--- trunk/Source/WebKit2/UIProcess/API/efl/EwkView.h 2013-03-08 14:12:56 UTC (rev 145212)
+++ trunk/Source/WebKit2/UIProcess/API/efl/EwkView.h 2013-03-08 14:13:35 UTC (rev 145213)
@@ -155,7 +155,6 @@
#endif
void setCursor(const WebCore::Cursor& cursor);
- void setImageData(void* imageData, const WebCore::IntSize& size);
void scheduleUpdateDisplay();
Modified: trunk/Source/WebKit2/UIProcess/cairo/BackingStoreCairo.cpp (145212 => 145213)
--- trunk/Source/WebKit2/UIProcess/cairo/BackingStoreCairo.cpp 2013-03-08 14:12:56 UTC (rev 145212)
+++ trunk/Source/WebKit2/UIProcess/cairo/BackingStoreCairo.cpp 2013-03-08 14:13:35 UTC (rev 145213)
@@ -68,12 +68,6 @@
srcRect.move(-updateRectLocation.x(), -updateRectLocation.y());
bitmap->paint(graphicsContext, updateRect.location(), srcRect);
}
-
-#if PLATFORM(EFL)
- // Update ewk_view with new backingStore image.
- EwkView* view = toEwkView(m_webPageProxy->viewWidget());
- view->setImageData(cairo_image_surface_get_data(m_backingStore->cairoSurface()), m_size);
-#endif
}
void BackingStore::scroll(const IntRect& scrollRect, const IntSize& scrollOffset)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes