Bug 30189

Summary: Back out StringImpl::m_buffer to make MSVC happy
Product: WebKit Reporter: Jens Alfke <jens>
Component: WebCore Misc.Assignee: Jens Alfke <jens>
Status: RESOLVED FIXED    
Severity: Major CC: jorlow
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows Vista   
Attachments:
Description Flags
patch
none
removed unwanted space char
none
now with changelog entry, duh
levin: review+, levin: commit-queue-
remove commented declaration none

Description Jens Alfke 2009-10-07 17:11:44 PDT
Created attachment 40830 [details]
patch

It's not worth having the variable-length-array m_buffer in StringImpl if MSVC doesn't handle it well. So this patch removes it and goes back to the hack of offsetting the base pointer by sizeof(StringImpl).
Comment 1 Jens Alfke 2009-10-07 17:16:46 PDT
Created attachment 40831 [details]
removed unwanted space char
Comment 2 Jens Alfke 2009-10-07 17:20:12 PDT
Created attachment 40832 [details]
now with changelog entry, duh
Comment 3 David Levin 2009-10-07 17:21:03 PDT
Comment on attachment 40832 [details]
now with changelog entry, duh


> +    // const UChar m_fictitious_buffer[];
Whoever lands this, please delete this line.
Comment 4 Jens Alfke 2009-10-07 17:21:22 PDT
Created attachment 40833 [details]
remove commented declaration
Comment 5 Jeremy Orlow 2009-10-07 17:41:38 PDT
Committed r49279: <http://trac.webkit.org/changeset/49279>
Comment 6 Eric Seidel (no email) 2009-10-07 21:49:47 PDT
Comment on attachment 40833 [details]
remove commented declaration

This was landed.  Thank you Jens for the quick fix, and thank you Jeremy for the commit.