Bug 36653

Summary: [GStreamer] define static variables with DEFINE_STATIC_LOCAL macro
Product: WebKit Reporter: Philippe Normand <pnormand>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
proposed patch eric: review+

Philippe Normand
Reported 2010-03-26 04:06:01 PDT
In mimeTypeCache() the 2 static vars should be defined with DEFINE_STATIC_LOCAL otherwise this code won't compile on Mac OS. See also JavaScriptCore/wtf/StdLibExtras.h
Attachments
proposed patch (1.70 KB, patch)
2010-03-26 04:17 PDT, Philippe Normand
eric: review+
Philippe Normand
Comment 1 2010-03-26 04:17:59 PDT
Created attachment 51726 [details] proposed patch
WebKit Review Bot
Comment 2 2010-03-26 04:20:27 PDT
Attachment 51726 [details] did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebCore/ChangeLog:8: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Philippe Normand
Comment 3 2010-03-29 00:41:20 PDT
Landed in r56710. Thanks!
Note You need to log in before you can comment on or make changes to this bug.