Bug 13426 - NPObject should be forward declared using 'struct' instead of 'class'
Summary: NPObject should be forward declared using 'struct' instead of 'class'
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Minor
Assignee: Darin Fisher (:fishd, Google)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-20 19:03 PDT by Darin Fisher (:fishd, Google)
Modified: 2007-04-21 01:28 PDT (History)
0 users

See Also:


Attachments
trivial patch (754 bytes, patch)
2007-04-20 19:04 PDT, Darin Fisher (:fishd, Google)
aroben: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Fisher (:fishd, Google) 2007-04-20 19:03:46 PDT
NPObject should be forward declared using 'struct' instead of 'class'

Frame.h has 'class NPObject;' which causes strict compilers to complain if npruntime.h is also included in the same compilation unit as Frame.h.
Comment 1 Darin Fisher (:fishd, Google) 2007-04-20 19:04:42 PDT
Created attachment 14118 [details]
trivial patch
Comment 2 Adam Roben (:aroben) 2007-04-20 19:06:32 PDT
Comment on attachment 14118 [details]
trivial patch

r=me
Comment 3 Mark Rowe (bdash) 2007-04-21 01:28:20 PDT
Landed in r20990.