OSDN Git Service

Don't include JavaScriptCore/config.h from WebCore/WebCorePrefix.h
authorKristian Monsen <kristianm@google.com>
Tue, 5 Oct 2010 12:18:43 +0000 (13:18 +0100)
committerKristian Monsen <kristianm@google.com>
Tue, 5 Oct 2010 15:45:11 +0000 (16:45 +0100)
commit13cb86d508a2af29cda7a8336a3375ccddab1bd0
treede7af0fb33ee3d5f3d9ff45d6e7f27aac6ed2dda
parent79b343f3ddbd41da7ec351af7747dae1143c4c52
Don't include JavaScriptCore/config.h from WebCore/WebCorePrefix.h

This is a cherry-pick of the following upstream CL:
https://bugs.webkit.org/show_bug.cgi?id=47179

This violates the rules at the top of the file, and means that it
will be included before any other includes for all compilation
units.

We are now just including JavaScriptCore/config.h from
WebCore/config.h so if you include one you get both.

This created a compile error in V8Counters.cpp, which is also fixed

Change-Id: I272247161877ddc680b3aab509bc413ab3445219
WebCore/WebCorePrefix.h
WebCore/config.h
WebKit/android/WebCoreSupport/V8Counters.cpp