Bug 51901 - Add back/forward encoding and decoding to WebKit2
Summary: Add back/forward encoding and decoding to WebKit2
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Darin Adler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-04 15:00 PST by Darin Adler
Modified: 2011-01-04 15:29 PST (History)
0 users

See Also:


Attachments
Patch (38.21 KB, patch)
2011-01-04 15:03 PST, Darin Adler
beidson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Adler 2011-01-04 15:00:40 PST
Add back/forward encoding and decoding to WebKit2
Comment 1 Darin Adler 2011-01-04 15:03:49 PST
Created attachment 77936 [details]
Patch
Comment 2 Brady Eidson 2011-01-04 15:20:39 PST
Comment on attachment 77936 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=77936&action=review

> WebKit2/WebProcess/WebPage/EncoderAdapter.cpp:41
> +    return vector;

I like reserveCapacity before the append, if it makes it not allocate extra buffer space.
Comment 3 Darin Adler 2011-01-04 15:29:21 PST
Committed r75020: <http://trac.webkit.org/changeset/75020>