Summary: | [chromium] Improve garbage collector hint if page uses Canvas contexts | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ulan Degenbaev <ulan> | ||||||
Component: | New Bugs | Assignee: | Ulan Degenbaev <ulan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | abarth, haraken, japhet, kbr, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 76225 | ||||||||
Bug Blocks: | |||||||||
Attachments: |
|
Description
Ulan Degenbaev
2012-08-01 02:26:04 PDT
Created attachment 155766 [details]
Patch
Comment on attachment 155766 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=155766&action=review > Source/WebCore/bindings/v8/V8Binding.h:229 > + void setGarbageCollectionHint() { m_garbageCollectionHint = true; } > + void clearGarbageCollectionHint() { m_garbageCollectionHint = false; } > + bool isGarbageCollectionHint() const { return m_garbageCollectionHint; } How about: void setShouldCollectGarbageSoon(bool flag) { m_shouldCollectGarbageSoon = flag; } bool shouldCollectGarbageSoon() const { return m_shouldCollectGarbageSoon; } Comment on attachment 155766 [details]
Patch
LGTM too; abarth's naming changes sound reasonable.
Created attachment 156006 [details]
Address comments
Thanks, renamed and rebased. Could you send to CQ after review? I forgot to set the CQ request flag. Comment on attachment 156006 [details] Address comments Clearing flags on attachment: 156006 Committed r124431: <http://trac.webkit.org/changeset/124431> All reviewed patches have been landed. Closing bug. |