Bug 30859 - Allow custom memory allocation control for WebCore's ShorthandScope
Summary: Allow custom memory allocation control for WebCore's ShorthandScope
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 05:58 PDT by Zoltan Horvath
Modified: 2009-10-29 08:42 PDT (History)
0 users

See Also:


Attachments
proposed patch (1.15 KB, patch)
2009-10-28 05:59 PDT, Zoltan Horvath
darin: review+
Details | Formatted Diff | Diff
updated to Noncopyable (1.18 KB, patch)
2009-10-29 03:23 PDT, Zoltan Horvath
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Horvath 2009-10-28 05:58:21 PDT
Inherits ShorthandScope class from FastAllocBase because it has been instantiated by 'new' in WebCore/css/CSSParser.cpp:902.
Comment 1 Zoltan Horvath 2009-10-28 05:59:31 PDT
Created attachment 42024 [details]
proposed patch
Comment 2 Darin Adler 2009-10-28 07:47:44 PDT
Comment on attachment 42024 [details]
proposed patch

For many of these it would be better to inherit from Noncopyable instead of FastAllocBase.
Comment 3 Zoltan Horvath 2009-10-29 03:23:55 PDT
Created attachment 42087 [details]
updated to Noncopyable
Comment 4 Zoltan Horvath 2009-10-29 08:42:02 PDT
Landed in 40273.
https://trac.webkit.org/changeset/50273