Title: [104677] trunk/Source/WebKit/efl
- Revision
- 104677
- Author
- [email protected]
- Date
- 2012-01-11 00:19:24 -0800 (Wed, 11 Jan 2012)
Log Message
[EFL] Fix page rendering issue on ewk_view_tiled.
https://bugs.webkit.org/show_bug.cgi?id=75686
Patch by KwangHyuk Kim <[email protected]> on 2012-01-11
Reviewed by Andreas Kling.
As for now the discard of ewk_tiled_backing_store doesn't reset its own contents size information
and ewk_tiled_backing_store just ignores the request if new contents size change request would contain
the same size compared to the one that it owns,
contents size change request coming from ChromeClientEfl::contentsSizeChanged() API can be skipped
and therefore web page can't be presented properly.
In order to resolve this, I just add code to reset contents size information which ewk_tiled_backing_store owns
when it discards its own data.
* ewk/ewk_tiled_backing_store.cpp:
(ewk_tiled_backing_store_flush):
Modified Paths
Diff
Modified: trunk/Source/WebKit/efl/ChangeLog (104676 => 104677)
--- trunk/Source/WebKit/efl/ChangeLog 2012-01-11 07:53:21 UTC (rev 104676)
+++ trunk/Source/WebKit/efl/ChangeLog 2012-01-11 08:19:24 UTC (rev 104677)
@@ -1,3 +1,21 @@
+2012-01-11 KwangHyuk Kim <[email protected]>
+
+ [EFL] Fix page rendering issue on ewk_view_tiled.
+ https://bugs.webkit.org/show_bug.cgi?id=75686
+
+ Reviewed by Andreas Kling.
+
+ As for now the discard of ewk_tiled_backing_store doesn't reset its own contents size information
+ and ewk_tiled_backing_store just ignores the request if new contents size change request would contain
+ the same size compared to the one that it owns,
+ contents size change request coming from ChromeClientEfl::contentsSizeChanged() API can be skipped
+ and therefore web page can't be presented properly.
+ In order to resolve this, I just add code to reset contents size information which ewk_tiled_backing_store owns
+ when it discards its own data.
+
+ * ewk/ewk_tiled_backing_store.cpp:
+ (ewk_tiled_backing_store_flush):
+
2012-01-10 Tomasz Morawski <[email protected]>
[EFL] Added smart pointers to Ewk_View_Paint_Context class and done minor refactoring.
Modified: trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp (104676 => 104677)
--- trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp 2012-01-11 07:53:21 UTC (rev 104676)
+++ trunk/Source/WebKit/efl/ewk/ewk_tiled_backing_store.cpp 2012-01-11 08:19:24 UTC (rev 104677)
@@ -1821,6 +1821,8 @@
priv->model.current.rows = 1;
priv->model.old.columns = 0;
priv->model.old.rows = 0;
+ priv->model.width = 0;
+ priv->model.height = 0;
priv->changed.size = true;
#ifdef DEBUG_MEM_LEAKS
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes