https://bugs.webkit.org/show_bug.cgi?id=95990
Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-09-10
Reviewed by Gyuyoung Kim.
Fix build warning about extended initializer lists only available with
-std=c++0x or -std=gnu++0x.
* UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
(EWK2UnitTest::ewk2UnitTestBrowserViewSmartClass):
(EWK2UnitTest):
(EWK2UnitTest::EWK2UnitTestBase::EWK2UnitTestBase):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128145
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
Conflicts:
Source/WebKit2/UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp
Change-Id: I2366a936caa84412705ffd7e9f9f24cd706f9640
+2012-09-10 Byungwoo Lee <bw80.lee@samsung.com>
+
+ [EFL][WK2] Build warning : fix warning about extended initializer lists on EWK2UnitTestBase.cpp.
+ https://bugs.webkit.org/show_bug.cgi?id=95990
+
+ Reviewed by Gyuyoung Kim.
+
+ Fix build warning about extended initializer lists only available with
+ -std=c++0x or -std=gnu++0x.
+
+ * UIProcess/API/efl/tests/UnitTestUtils/EWK2UnitTestBase.cpp:
+ (EWK2UnitTest::ewk2UnitTestBrowserViewSmartClass):
+ (EWK2UnitTest):
+ (EWK2UnitTest::EWK2UnitTestBase::EWK2UnitTestBase):
+
2012-11-08 Grzegorz Czajkowski <g.czajkowski@samsung.com>
[EFL] Add a method to the TextCheckerEnchant class to check whether any dictionary is loaded
namespace EWK2UnitTest {
+static Ewk_View_Smart_Class ewk2UnitTestBrowserViewSmartClass()
+{
+ static Ewk_View_Smart_Class ewkViewClass = EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION("Browser_View");
+ return ewkViewClass;
+}
+
EWK2UnitTestBase::EWK2UnitTestBase()
#if ENABLE(TIZEN_DAILY_UPVERSIONING)
: m_webView(0)
: m_ecoreEvas(0)
, m_webView(0)
#endif
- , m_ewkViewClass(EWK_VIEW_SMART_CLASS_INIT_NAME_VERSION("Browser_View"))
+ , m_ewkViewClass(ewk2UnitTestBrowserViewSmartClass())
{
ewk_view_smart_class_set(&m_ewkViewClass);
}