Changeset 131412 in webkit
- Timestamp:
- Oct 15, 2012 10:16:55 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r131411 r131412 1 2012-10-15 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Unreviewed, rolling out r131349. 4 http://trac.webkit.org/changeset/131349 5 https://bugs.webkit.org/show_bug.cgi?id=97173 6 7 Revert r131349 because API test is broken by this commit. 8 9 * platform/efl/RunLoopEfl.cpp: 10 (WebCore::RunLoop::RunLoop): 11 (WebCore::RunLoop::~RunLoop): 12 1 13 2012-10-15 Nate Chapin <japhet@chromium.org> 2 14 -
trunk/Source/WebCore/platform/efl/RunLoopEfl.cpp
r131349 r131412 29 29 30 30 #include <Ecore.h> 31 #include <Ecore_Evas.h> 32 #include <Ecore_File.h> 33 #include <Edje.h> 31 34 #include <wtf/OwnPtr.h> 32 35 #include <wtf/PassOwnPtr.h> … … 40 43 : m_initEfl(false) 41 44 { 45 if (!ecore_init()) { 46 LOG_ERROR("could not init ecore."); 47 return; 48 } 49 50 if (!ecore_evas_init()) { 51 LOG_ERROR("could not init ecore_evas."); 52 goto errorEcoreEvas; 53 } 54 55 if (!ecore_file_init()) { 56 LOG_ERROR("could not init ecore_file."); 57 goto errorEcoreFile; 58 } 59 60 if (!edje_init()) { 61 LOG_ERROR("could not init edje."); 62 goto errorEdje; 63 } 64 42 65 m_pipe = adoptPtr(ecore_pipe_add(wakeUpEvent, this)); 43 66 m_initEfl = true; 67 68 return; 69 70 errorEdje: 71 ecore_file_shutdown(); 72 errorEcoreFile: 73 ecore_evas_shutdown(); 74 errorEcoreEvas: 75 ecore_shutdown(); 44 76 } 45 77 46 78 RunLoop::~RunLoop() 47 79 { 80 if (m_initEfl) { 81 edje_shutdown(); 82 ecore_file_shutdown(); 83 ecore_evas_shutdown(); 84 ecore_shutdown(); 85 } 48 86 } 49 87 -
trunk/Source/WebKit2/ChangeLog
r131401 r131412 1 2012-10-15 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2 3 Unreviewed, rolling out r131349. 4 http://trac.webkit.org/changeset/131349 5 https://bugs.webkit.org/show_bug.cgi?id=97173 6 7 Revert r131349 because API test is broken by this commit. 8 9 * UIProcess/API/efl/ewk_main.cpp: 10 (ewk_init): 11 (ewk_shutdown): 12 * WebProcess/efl/WebProcessMainEfl.cpp: 13 (WebKit::WebProcessMainEfl): 14 1 15 2012-10-15 Jongseok Yang <js45.yang@samsung.com> 2 16 -
trunk/Source/WebKit2/UIProcess/API/efl/ewk_main.cpp
r131349 r131412 80 80 #endif 81 81 82 if (!edje_init()) {83 CRITICAL("could not init edje.");84 goto error_edje;85 }86 87 82 g_type_init(); 88 83 … … 95 90 96 91 #ifdef HAVE_ECORE_X 97 error_edje:98 ecore_x_shutdown();99 92 error_ecore_x: 100 ecore_evas_shutdown();101 #else102 error_edje:103 93 ecore_evas_shutdown(); 104 94 #endif … … 121 111 return _ewkInitCount; 122 112 123 edje_shutdown();124 113 #ifdef HAVE_ECORE_X 125 114 ecore_x_shutdown(); -
trunk/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp
r131349 r131412 32 32 #include "WKBase.h" 33 33 #include <Ecore.h> 34 #include <Ecore_Evas.h>35 #include <Edje.h>36 34 #include <Efreet.h> 37 35 #include <WebCore/ResourceHandle.h> … … 63 61 if (!ecore_init()) { 64 62 // Could not init ecore. 65 eina_shutdown();66 return 1;67 }68 69 if (!ecore_evas_init()) {70 ecore_shutdown();71 eina_shutdown();72 return 1;73 }74 75 if (!edje_init()) {76 ecore_evas_shutdown();77 ecore_shutdown();78 63 eina_shutdown(); 79 64 return 1; … … 121 106 g_object_unref(soupCache); 122 107 123 edje_shutdown();124 ecore_evas_shutdown();125 ecore_shutdown();126 eina_shutdown();127 128 108 return 0; 129 109
Note: See TracChangeset
for help on using the changeset viewer.