RESOLVED FIXED Bug 117116
[WK2][CoordinatedGraphics]: Use a properly initialized WebPage when creating a PageClient
https://bugs.webkit.org/show_bug.cgi?id=117116
Summary [WK2][CoordinatedGraphics]: Use a properly initialized WebPage when creating ...
Sergio Correia (qrwteyrutiyoup)
Reported 2013-06-01 21:51:00 PDT
[WK2][CG]: Use a properly initialized WebPage when creating a PageClient
Attachments
Patch (3.76 KB, patch)
2013-06-01 21:55 PDT, Sergio Correia (qrwteyrutiyoup)
no flags
Patch (3.86 KB, patch)
2013-06-01 23:48 PDT, Sergio Correia (qrwteyrutiyoup)
no flags
Patch (3.87 KB, patch)
2013-06-02 00:56 PDT, Sergio Correia (qrwteyrutiyoup)
no flags
Sergio Correia (qrwteyrutiyoup)
Comment 1 2013-06-01 21:55:20 PDT
Darin Adler
Comment 2 2013-06-01 23:38:56 PDT
Comment on attachment 203501 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=203501&action=review > Source/WebKit2/UIProcess/CoordinatedGraphics/WebView.cpp:53 > + m_page = context->createWebPage(this, pageGroup); Needs a comment so someone doesn’t just move it back. Such as: // Need to call createWebPage after other data members, specifically m_visible, are initialized.
Sergio Correia (qrwteyrutiyoup)
Comment 3 2013-06-01 23:48:17 PDT
Created attachment 203505 [details] Patch Added comment as requested by Darin.
Tim Horton
Comment 4 2013-06-02 00:37:53 PDT
Comment on attachment 203505 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=203505&action=review > Source/WebKit2/ChangeLog:3 > + [WK2][CG]: Use a properly initialized WebPage when creating a PageClient Oh, maybe we can use something other than [CG] in titles for Coordinated Graphics, since we already use that for CoreGraphics?
Sergio Correia (qrwteyrutiyoup)
Comment 5 2013-06-02 00:41:28 PDT
(In reply to comment #4) > (From update of attachment 203505 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=203505&action=review > > > Source/WebKit2/ChangeLog:3 > > + [WK2][CG]: Use a properly initialized WebPage when creating a PageClient > > Oh, maybe we can use something other than [CG] in titles for Coordinated Graphics, since we already use that for CoreGraphics? My bad, I wasn't aware CG was already used for CoreGraphics. Would you like me to update the bug title (and the commit message/changleog) to use CoordinatedGraphics instead?
Tim Horton
Comment 6 2013-06-02 00:50:04 PDT
(In reply to comment #5) > (In reply to comment #4) > > (From update of attachment 203505 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=203505&action=review > > > > > Source/WebKit2/ChangeLog:3 > > > + [WK2][CG]: Use a properly initialized WebPage when creating a PageClient > > > > Oh, maybe we can use something other than [CG] in titles for Coordinated Graphics, since we already use that for CoreGraphics? > > My bad, I wasn't aware CG was already used for CoreGraphics. > > Would you like me to update the bug title (and the commit message/changleog) to use CoordinatedGraphics instead? Sure :)
Sergio Correia (qrwteyrutiyoup)
Comment 7 2013-06-02 00:56:53 PDT
Created attachment 203509 [details] Patch Changed [CG] tag to [CoordinatedGraphics], as requested by Tim, as the former refers to CoreGraphics.
Tim Horton
Comment 8 2013-06-02 01:05:26 PDT
Comment on attachment 203509 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=203509&action=review > Source/WebKit2/ChangeLog:42 > + Here's the relevant valgrind trace for reference: > + > + Conditional jump or move depends on uninitialised value(s) > + at 0x65A35A4: WebKit::WebPageProxy::WebPageProxy(WebKit::PageClient*, > + WTF::PassRefPtr<WebKit::WebProcessProxy>, > + WebKit::WebPageGroup*, unsigned long) (WebPageProxy.cpp:322) > + by 0x65A2BA2: WebKit::WebPageProxy::create(WebKit::PageClient*, > + WTF::PassRefPtr<WebKit::WebProcessProxy>, > + WebKit::WebPageGroup*, unsigned long) (WebPageProxy.cpp:233) > + by 0x65E94BB: WebKit::WebProcessProxy::createWebPage(WebKit::PageClient*, > + WebKit::WebContext*, WebKit::WebPageGroup*) > + (WebProcessProxy.cpp:172) > + by 0x6570957: WebKit::WebContext::createWebPage(WebKit::PageClient*, > + WebKit::WebPageGroup*, WebKit::WebPageProxy*) > + (WebContext.cpp:735) > + by 0x67673E3: WebKit::WebView::WebView(WebKit::WebContext*, > + WebKit::WebPageGroup*) (WebView.cpp:52) > + by 0x6775F18: WebKit::WebViewEfl::WebViewEfl(WebKit::WebContext*, > + WebKit::WebPageGroup*) (WebViewEfl.cpp:54) > + by 0x6775EB4: WebKit::WebView::create(WebKit::WebContext*, > + WebKit::WebPageGroup*) (WebViewEfl.cpp:49) > + by 0x673E13D: WKViewCreate (WKView.cpp:33) > + by 0x6763ECE: EWKViewCreate (ewk_view.cpp:92) This is a bit excessive for the changelog, I think, but it's fine.
Sergio Correia (qrwteyrutiyoup)
Comment 9 2013-06-02 01:09:42 PDT
(In reply to comment #8) > (From update of attachment 203509 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=203509&action=review > [snip] > > This is a bit excessive for the changelog, I think, but it's fine. Alright, I will keep that in mind :) Thanks!
WebKit Commit Bot
Comment 10 2013-06-02 01:33:04 PDT
Comment on attachment 203509 [details] Patch Clearing flags on attachment: 203509 Committed r151081: <http://trac.webkit.org/changeset/151081>
WebKit Commit Bot
Comment 11 2013-06-02 01:33:07 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.