WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
30670
[Qt] symbian buildfix for resourceloadnotifier
https://bugs.webkit.org/show_bug.cgi?id=30670
Summary
[Qt] symbian buildfix for resourceloadnotifier
Janne Koskinen
Reported
2009-10-22 03:59:35 PDT
ResourceRequest is forward declared as class and the actual definition is class. This will cause WINSCW linker to fail all function calls where ResourceRequest is one of the parameters
Attachments
proposed fix for ResourceLoaderNotifier.h
(422 bytes, patch)
2009-10-22 04:20 PDT
,
Janne Koskinen
no flags
Details
Formatted Diff
Diff
proposed fix for ResourceLoaderNotifier.h take 2
(1.05 KB, patch)
2009-10-22 04:25 PDT
,
Janne Koskinen
zecke
: review-
Details
Formatted Diff
Diff
unification of ResourceRequest class/struct usage
(14.60 KB, patch)
2009-10-29 01:36 PDT
,
Janne Koskinen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Janne Koskinen
Comment 1
2009-10-22 04:20:40 PDT
Created
attachment 41653
[details]
proposed fix for ResourceLoaderNotifier.h
Janne Koskinen
Comment 2
2009-10-22 04:25:13 PDT
Created
attachment 41654
[details]
proposed fix for ResourceLoaderNotifier.h take 2 Added the wrong patch. that will be coming up shortly :)
Holger Freyther
Comment 3
2009-10-22 05:02:11 PDT
Comment on
attachment 41654
[details]
proposed fix for ResourceLoaderNotifier.h take 2
> #include <wtf/Noncopyable.h> > -
^^^ we don't add whitespace like this...
> namespace WebCore { > > class AuthenticationChallenge; > @@ -40,7 +39,7 @@ class Frame; > class ResourceError; > class ResourceLoader; > class ResourceResponse; > -class ResourceRequest; > +struct ResourceRequest; > class ScriptString;
Yes and No. CF, Chromium, CURL, SOUP refer to it as struct ResourceRequest, mac is having a proper class. WebCore/platform/network/mac/ResourceRequest.h:41: class ResourceRequest : public ResourceRequestBase { I think it is time to change the other ports to class ResourceRequest as well because the base class is declared as a "class".
Janne Koskinen
Comment 4
2009-10-22 06:58:30 PDT
(In reply to
comment #3
)
> WebCore/platform/network/mac/ResourceRequest.h:41: class ResourceRequest : > public ResourceRequestBase { > > I think it is time to change the other ports to class ResourceRequest as well > because the base class is declared as a "class".
Thanks for the review, I'll prepare a patch that changes all forward declarations and the struct definition to class. This time without additional line removal :) Patch will be slightly bigger as we touch a lot of files (75 at quick glance).
Janne Koskinen
Comment 5
2009-10-29 01:36:47 PDT
Created
attachment 42084
[details]
unification of ResourceRequest class/struct usage
Holger Freyther
Comment 6
2009-10-29 05:13:52 PDT
Do you mind if I change the changelog subject line to "Change ResourceRequest to be ..."? Patch looks fine, I will try to build Gtk, Qt and Mac and then land it.
Janne Koskinen
Comment 7
2009-10-29 10:32:32 PDT
(In reply to
comment #6
)
> Do you mind if I change the changelog subject line to "Change ResourceRequest > to be ..."? Patch looks fine, I will try to build Gtk, Qt and Mac and then land > it.
No, I don't mind. Go ahead and change it.
Holger Freyther
Comment 8
2009-11-07 00:14:43 PST
Comment on
attachment 42084
[details]
unification of ResourceRequest class/struct usage Should be compiled tested before landing...
Eric Seidel (no email)
Comment 9
2009-11-08 10:39:52 PST
bug 28003
is yet another "dupe" of this.
Eric Seidel (no email)
Comment 10
2009-11-08 10:40:19 PST
Comment on
attachment 42084
[details]
unification of ResourceRequest class/struct usage the commit-queue will test the compile before it lands.
WebKit Commit Bot
Comment 11
2009-11-08 11:02:03 PST
Comment on
attachment 42084
[details]
unification of ResourceRequest class/struct usage Clearing flags on attachment: 42084 Committed
r50625
: <
http://trac.webkit.org/changeset/50625
>
WebKit Commit Bot
Comment 12
2009-11-08 11:02:09 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.
Top of Page
Format For Printing
XML
Clone This Bug