Skip to content
This repository was archived by the owner on Jun 24, 2022. It is now read-only.

Commit 187d80d

Browse files
[EFL] Revise PlatformWebView ctor according to r188718
https://bugs.webkit.org/show_bug.cgi?id=148282 Source/WebKit2: Patch by Joonghun Park <[email protected]> on 2015-08-20 Reviewed by Gyuyoung Kim. * PlatformEfl.cmake: Tools: This patch change PlatformWebView ctor's argument to use WKPageConfigurationRef instead of WKContextRef and WKPageGroupRef respectively. Patch by Joonghun Park <[email protected]> on 2015-08-20 Reviewed by Gyuyoung Kim. * WebKitTestRunner/efl/PlatformWebViewEfl.cpp: (WTR::PlatformWebView::PlatformWebView): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@188751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent e39da12 commit 187d80d

File tree

4 files changed

+27
-1
lines changed

4 files changed

+27
-1
lines changed

Source/WebKit2/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2015-08-20 Joonghun Park <[email protected]>
2+
3+
[EFL] Revise PlatformWebView ctor according to r188718
4+
https://bugs.webkit.org/show_bug.cgi?id=148282
5+
6+
Reviewed by Gyuyoung Kim.
7+
8+
* PlatformEfl.cmake:
9+
110
2015-08-20 Alex Christensen <[email protected]>
211

312
GTK build fix after r188693.

Source/WebKit2/PlatformEfl.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ list(APPEND WebKit2_SOURCES
6565
UIProcess/BackingStore.cpp
6666
UIProcess/DefaultUndoController.cpp
6767

68+
UIProcess/API/C/WKPageConfigurationRef.cpp
69+
6870
UIProcess/API/C/CoordinatedGraphics/WKView.cpp
6971

7072
UIProcess/API/C/cairo/WKIconDatabaseCairo.cpp

Tools/ChangeLog

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
2015-08-20 Joonghun Park <[email protected]>
2+
3+
[EFL] Revise PlatformWebView ctor according to r188718
4+
https://bugs.webkit.org/show_bug.cgi?id=148282
5+
6+
This patch change PlatformWebView ctor's argument to use WKPageConfigurationRef
7+
instead of WKContextRef and WKPageGroupRef respectively.
8+
9+
Reviewed by Gyuyoung Kim.
10+
11+
* WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
12+
(WTR::PlatformWebView::PlatformWebView):
13+
114
2015-08-20 Devin Rousso <[email protected]>
215

316
Unreviewed, changed Devin Rousso's email.

Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,16 @@ static Ecore_Evas* initEcoreEvas()
5353
return ecoreEvas;
5454
}
5555

56-
PlatformWebView::PlatformWebView(WKContextRef context, WKPageGroupRef pageGroup, WKPageRef /* relatedPage */, const ViewOptions& options)
56+
PlatformWebView::PlatformWebView(WKPageConfigurationRef configuration, const ViewOptions& options)
5757
: m_options(options)
5858
{
5959
WKRetainPtr<WKStringRef> useFixedLayoutKey(AdoptWK, WKStringCreateWithUTF8CString("UseFixedLayout"));
6060
m_usingFixedLayout = options.useFixedLayout;
6161

6262
m_window = initEcoreEvas();
6363

64+
WKContextRef context = WKPageConfigurationGetContext(configuration);
65+
WKPageGroupRef pageGroup = WKPageConfigurationGetPageGroup(configuration);
6466
m_view = EWKViewCreate(context, pageGroup, ecore_evas_get(m_window), /* smart */ 0);
6567

6668
WKPageSetUseFixedLayout(WKViewGetPage(EWKViewGetWKView(m_view)), m_usingFixedLayout);

0 commit comments

Comments
 (0)