DescriptionUse forward declaration instead of include for NPObject
All we use is just a NPObject* here, there is no need to include
the entire third_party/npapi/bindings/npruntime.h file, plus that
file includes third_party/npapi/bindings/npapi.h which further
includes system gl.h in OS X, which contains a GLES2TexImage2D
definition that conflicts with the definition in
gpu/GLES2/gl2chromium_autogen.h. Similar issues were fixed in CL
https://codereview.chromium.org/11794019/ We will hit this issue
when trying to include V8NPObject.h along with ChromeClientImpl.h.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174283
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|