WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 32110
Allow custom memory allocation control for WebCore's FrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=32110
Summary
Allow custom memory allocation control for WebCore's FrameLoaderClient
Zoltan Horvath
Reported
2009-12-03 02:30:31 PST
Created
attachment 44221
[details]
Patch Inherits the following class from Noncopyable because it is instantiated by 'new' and no need to be copyable: class name - instantiated at: WebCore/'location' class FrameLoaderClient - (its child class) svg/graphics/SVGImage.cpp:229
Attachments
Patch
(1.40 KB, patch)
2009-12-03 02:30 PST
,
Zoltan Horvath
no flags
Details
Formatted Diff
Diff
Patch
(1.27 KB, patch)
2009-12-11 04:57 PST
,
Zoltan Horvath
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
WebKit Review Bot
Comment 1
2009-12-03 02:31:08 PST
style-queue ran check-webkit-style on
attachment 44221
[details]
without any errors.
Eric Seidel (no email)
Comment 2
2009-12-03 12:58:19 PST
Comment on
attachment 44221
[details]
Patch Are you using a script to find these?
Adam Barth
Comment 3
2009-12-03 23:28:18 PST
Comment on
attachment 44221
[details]
Patch Are you sure this is right? This is just an abstract interface.
Zoltan Horvath
Comment 4
2009-12-04 05:03:24 PST
(In reply to
comment #2
)
> (From update of
attachment 44221
[details]
) > Are you using a script to find these?
No, I'm using a static source analyzer tool (called Columbus, developed by our department) and check the results by 'hand'. (In reply to
comment #3
)
> (From update of
attachment 44221
[details]
) > Are you sure this is right? This is just an abstract interface.
This is right, but not necessary, so okay, in the future at the case of abstract interfaces I won't go up to the superclass in the inheritance tree.
Zoltan Horvath
Comment 5
2009-12-04 05:16:39 PST
Hmm. I checked. This is the instantiation line: static FrameLoaderClient* dummyFrameLoaderClient = new EmptyFrameLoaderClient; So, I have to inherit either EmptyFrameLoaderClient or FrameLoaderClient which are both abstract interfaces. FrameLoaderClient is the super class of EmptyFrameLoaderClient, so firt FrameLoaderClient should be inherited. (If some classes inherit from Noncopyable it also inherit from FastAllocBase, so the customization of the new/delete operator will be done.)
Zoltan Horvath
Comment 6
2009-12-11 04:57:20 PST
Created
attachment 44674
[details]
Patch
Zoltan Horvath
Comment 7
2009-12-11 04:58:30 PST
Ignore my last comments. You're right! New patch updated and filed!
WebKit Review Bot
Comment 8
2009-12-11 05:00:42 PST
style-queue ran check-webkit-style on
attachment 44674
[details]
without any errors.
Zoltan Horvath
Comment 9
2009-12-11 08:19:43 PST
Comment on
attachment 44674
[details]
Patch Clearing flags on attachment: 44674 Committed
r51990
: <
http://trac.webkit.org/changeset/51990
>
Zoltan Horvath
Comment 10
2009-12-11 08:19:54 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