WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
140000
REGRESSION(
r177795
): [GTK] Build broken
https://bugs.webkit.org/show_bug.cgi?id=140000
Summary
REGRESSION(r177795): [GTK] Build broken
Carlos Alberto Lopez Perez
Reported
2014-12-29 16:24:29 PST
Revision
r177795
<
http://trac.webkit.org/r177795
> has broken the GTK build: Build log:
https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Release%20%28Build%29/builds/54028/steps/compile-webkit/logs/stdio
Attachments
Patch
(2.95 KB, patch)
2014-12-30 07:26 PST
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2014-12-30 07:26:20 PST
Created
attachment 243823
[details]
Patch
Zan Dobersek
Comment 2
2014-12-30 07:39:53 PST
Comment on
attachment 243823
[details]
Patch I'm not exactly sure why and how the build error popped up now, but the GTK-specific argument coders were simply not included (anymore?) in the WebPageProxyMessageReceiver.cpp file. This should fix it for good, but I want a review to asses whether it might not be an appropriate approach.
Darin Adler
Comment 3
2014-12-30 10:03:17 PST
Comment on
attachment 243823
[details]
Patch Seems probably not the right approach. ArgumentCodersCF.h and ArgumentCodersMac.h don’t work this way.
Csaba Osztrogonác
Comment 4
2014-12-31 00:37:38 PST
Comment on
attachment 243823
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=243823&action=review
Why not simply including ArgumentCodersGtk.h from the sources which need it? Or including it from only ArgumentCoders.h and adding a guard to avoid including it from anywhere else.
> Source/WebKit2/Platform/IPC/ArgumentCoders.h:305 > +#if PLATFORM(GTK) > +#include "ArgumentCodersGtk.h" > +#endif
ArgumentCoders.h is included in ArgumentCodersGtk.h too.
Csaba Osztrogonác
Comment 5
2014-12-31 02:10:43 PST
(In reply to
comment #4
)
> Why not simply including ArgumentCodersGtk.h from the sources which need it?
Ah, WebPageProxyMessageReceiver.cpp is a generated source, so it isn't so easy to fix the generator properly.
Csaba Osztrogonác
Comment 6
2014-12-31 02:22:10 PST
(In reply to
comment #2
)
> Comment on
attachment 243823
[details]
> Patch > > I'm not exactly sure why and how the build error popped up now, but the > GTK-specific argument coders were simply not included (anymore?) in the > WebPageProxyMessageReceiver.cpp file. This should fix it for good, but I > want a review to asses whether it might not be an appropriate approach.
I found the root of the problem. Before
r177795
ArgumentCodersGtk.h was included indirectly: InjectedBundleUserMessageCoders.h -> WebPage.h -> ArgumentCodersGtk.h. But now InjectedBundleUserMessageCoders.h isn't included anymore.
Zan Dobersek
Comment 7
2014-12-31 03:35:28 PST
Committed a fix in
r177832
.
http://trac.webkit.org/changeset/177832
I just moved the ArgumentCodersGtk.h inclusion from WebPageProxy.cpp to WebPageProxy.h, which makes ArgumentCoder<WebCore::DragData> available in WebPageProxyMessageReceiver.cpp.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug