RESOLVED FIXED 141902
Remove unnecessary create() factory functions in CDMFoo, NamedNodeMap
https://bugs.webkit.org/show_bug.cgi?id=141902
Summary Remove unnecessary create() factory functions in CDMFoo, NamedNodeMap
Gyuyoung Kim
Reported 2015-02-23 02:34:54 PST
Though create() factory functions do nothing, CDMFoo, NamedNodeMap have used create() factory. Even some of create() factory used std::unique_ptr<> instead of std::make_unique<>.
Attachments
Patch (8.24 KB, patch)
2015-02-23 02:36 PST, Gyuyoung Kim
no flags
Patch (8.12 KB, patch)
2015-02-23 02:37 PST, Gyuyoung Kim
no flags
Patch (9.41 KB, patch)
2015-02-23 17:29 PST, Gyuyoung Kim
no flags
Patch (11.00 KB, patch)
2015-02-24 01:18 PST, Gyuyoung Kim
no flags
Patch for win (11.65 KB, patch)
2015-02-24 04:28 PST, Gyuyoung Kim
no flags
Patch (11.73 KB, patch)
2015-02-24 07:59 PST, Gyuyoung Kim
no flags
Patch (11.47 KB, patch)
2015-02-24 19:31 PST, Gyuyoung Kim
no flags
Archive of layout-test-results from ews104 for mac-mavericks-wk2 (1015.65 KB, application/zip)
2015-02-24 20:27 PST, Build Bot
no flags
Patch (9.35 KB, patch)
2015-02-25 22:06 PST, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2015-02-23 02:36:36 PST
Gyuyoung Kim
Comment 2 2015-02-23 02:37:54 PST
Gyuyoung Kim
Comment 3 2015-02-23 17:29:10 PST
Gyuyoung Kim
Comment 4 2015-02-24 01:18:30 PST
Gyuyoung Kim
Comment 5 2015-02-24 04:28:49 PST
Created attachment 247222 [details] Patch for win
Gyuyoung Kim
Comment 6 2015-02-24 07:59:12 PST
Gyuyoung Kim
Comment 7 2015-02-24 19:31:51 PST
Build Bot
Comment 8 2015-02-24 20:27:04 PST
Comment on attachment 247292 [details] Patch Attachment 247292 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4548557155598336 New failing tests: fast/loader/text-document-wrapping.html tables/mozilla/bugs/bug139524-2.html
Build Bot
Comment 9 2015-02-24 20:27:08 PST
Created attachment 247302 [details] Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Gyuyoung Kim
Comment 10 2015-02-25 18:04:42 PST
Comment on attachment 247292 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247292&action=review > Source/WebCore/testing/Internals.cpp:2129 > + CDM::registerCDMFactory([](CDM* cdm) { return std::make_unique<MockCDM>(cdm); }, Brent, I have failed to pass win ews for this use. Win EWS reported a build error as below, 1>WebKit.exp : error LNK2001: unresolved external symbol "public: static void __cdecl WebCore::CDM::registerCDMFactory(class std::unique_ptr<class WebCore::CDMPrivateInterface,struct std::default_delete<class WebCore::CDMPrivateInterface> > (__cdecl*)(class WebCore::CDM *),bool (__cdecl*)(class WTF::String const &),bool (__cdecl*)(class WTF::String const &,class WTF::String const &))" (?registerCDMFactory@CDM@WebCore@@SAXP6A?AV?$unique_ptr@VCDMPrivateInterface@WebCore@@U?$default_delete@VCDMPrivateInterface@WebCore@@@std@@@std@@PAV12@@ZP6A_NABVString@WTF@@@ZP6A_N22@Z@Z) 1>C:\cygwin\home\buildbot\WebKit\WebKitBuild\Release\bin32\WebKit.dll : fatal error LNK1120: 1 unresolved externals 1>Done Building Project "C:\cygwin\home\buildbot\WebKit\Source\WebKit\WebKit.vcxproj\WebKit\WebKit.vcxproj" (Build tar Could you help to fix this problem ?
Darin Adler
Comment 11 2015-02-25 19:15:29 PST
That problem should go away once Brent commits the fix for bug 141734 and we rebase against it (or just get EWS to run again).
Brent Fulgham
Comment 12 2015-02-25 20:01:30 PST
(In reply to comment #11) > That problem should go away once Brent commits the fix for bug 141734 and we > rebase against it (or just get EWS to run again). Yes! I think we are just a few minutes away from this ceasing to be a problem anymore. :-)
Brent Fulgham
Comment 13 2015-02-25 20:02:29 PST
Your patch should work once I close Bug 141732.
Gyuyoung Kim
Comment 14 2015-02-25 22:06:43 PST
Gyuyoung Kim
Comment 15 2015-02-25 22:07:17 PST
(In reply to comment #13) > Your patch should work once I close Bug 141732. Thanks, try again !
Brent Fulgham
Comment 16 2015-02-25 22:47:46 PST
(In reply to comment #15) > (In reply to comment #13) > > Your patch should work once I close Bug 141732. > > Thanks, try again ! It worked! Whoo-hoo! :-)
Gyuyoung Kim
Comment 17 2015-02-25 22:48:42 PST
(In reply to comment #16) > (In reply to comment #15) > > (In reply to comment #13) > > > Your patch should work once I close Bug 141732. > > > > Thanks, try again ! > > It worked! Whoo-hoo! :-) He He Thanks :)
WebKit Commit Bot
Comment 18 2015-02-26 17:04:39 PST
Comment on attachment 247406 [details] Patch Clearing flags on attachment: 247406 Committed r180712: <http://trac.webkit.org/changeset/180712>
WebKit Commit Bot
Comment 19 2015-02-26 17:04:45 PST
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.