Title: [132339] trunk/Source/WebKit2
- Revision
- 132339
- Author
- [email protected]
- Date
- 2012-10-24 05:16:07 -0700 (Wed, 24 Oct 2012)
Log Message
[EFL][WK2] ASSERTION FAILED: edje(): could not paint native HTML part due to missing theme
https://bugs.webkit.org/show_bug.cgi?id=100227
Patch by Sudarsana Nagineni <[email protected]> on 2012-10-24
Reviewed by Kenneth Rohde Christiansen.
Browser crashes on loading any page due to missing theme after
the web process has crashed and recovered.
This patch reset the theme when the web process is recovered to
avoid a crash.
* UIProcess/API/efl/PageClientImpl.cpp:
(WebKit::PageClientImpl::didRelaunchProcess):
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (132338 => 132339)
--- trunk/Source/WebKit2/ChangeLog 2012-10-24 12:05:32 UTC (rev 132338)
+++ trunk/Source/WebKit2/ChangeLog 2012-10-24 12:16:07 UTC (rev 132339)
@@ -1,3 +1,19 @@
+2012-10-24 Sudarsana Nagineni <[email protected]>
+
+ [EFL][WK2] ASSERTION FAILED: edje(): could not paint native HTML part due to missing theme
+ https://bugs.webkit.org/show_bug.cgi?id=100227
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Browser crashes on loading any page due to missing theme after
+ the web process has crashed and recovered.
+
+ This patch reset the theme when the web process is recovered to
+ avoid a crash.
+
+ * UIProcess/API/efl/PageClientImpl.cpp:
+ (WebKit::PageClientImpl::didRelaunchProcess):
+
2012-10-24 Sheriff Bot <[email protected]>
Unreviewed, rolling out r132333.
Modified: trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp (132338 => 132339)
--- trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp 2012-10-24 12:05:32 UTC (rev 132338)
+++ trunk/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp 2012-10-24 12:16:07 UTC (rev 132339)
@@ -119,7 +119,9 @@
void PageClientImpl::didRelaunchProcess()
{
- notImplemented();
+ const char* themePath = ewk_view_theme_get(m_viewWidget);
+ if (themePath)
+ ewk_view_page_get(m_viewWidget)->setThemePath(themePath);
}
void PageClientImpl::pageClosed()
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes