SharedBuffer's create() functions should return Refs. Also, its internal DataBuffer should be stored in a Ref.
Created attachment 258685 [details] Patch for EWS
Attachment 258685 [details] did not pass style-queue: ERROR: Source/WebCore/platform/SharedBuffer.h:62: The parameter name "vector" adds no information, so it should be removed. [readability/parameter_name] [5] ERROR: Source/WebCore/platform/SharedBuffer.h:68: The parameter name "data" adds no information, so it should be removed. [readability/parameter_name] [5] Total errors found: 2 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 258688 [details] Patch for EWS 2
Someone else made these changes somewhere in the last year.