[WK2] Fix build break
authorryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Oct 2012 02:56:08 +0000 (02:56 +0000)
committerryuan.choi@samsung.com <ryuan.choi@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Oct 2012 02:56:08 +0000 (02:56 +0000)
https://bugs.webkit.org/show_bug.cgi?id=99670

Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-10-17
Reviewed by Anders Carlsson.

Unreviewed build fix.

Include MessageEncoder.h instead of forwarding declaration for
MessageEncoder class.

* Scripts/webkit2/messages.py:
(forward_declarations_and_headers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@131700 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Scripts/webkit2/messages.py

index 550969f..3c58ea5 100644 (file)
@@ -1,3 +1,18 @@
+2012-10-17  Byungwoo Lee  <bw80.lee@samsung.com>
+
+        [WK2] Fix build break
+        https://bugs.webkit.org/show_bug.cgi?id=99670
+
+        Reviewed by Anders Carlsson.
+
+        Unreviewed build fix.
+
+        Include MessageEncoder.h instead of forwarding declaration for
+        MessageEncoder class.
+
+        * Scripts/webkit2/messages.py:
+        (forward_declarations_and_headers):
+
 2012-10-17  Darin Adler  <darin@apple.com>
 
         Make subclassing of WKView safer by namespacing methods and eliminating its use as an observer and delegate
index 974823d..56d97bc 100644 (file)
@@ -224,13 +224,14 @@ def forward_declarations_and_headers(receiver):
 
     headers = set([
         '"Arguments.h"',
+        '"MessageEncoder.h"',
         '"MessageID.h"',
     ])
 
     for message in receiver.messages:
         if message.reply_parameters != None and message.has_attribute(DELAYED_ATTRIBUTE):
             headers.add('<wtf/ThreadSafeRefCounted.h>')
-            types_by_namespace['CoreIPC'].update(['MessageEncoder', 'Connection'])
+            types_by_namespace['CoreIPC'].update(['Connection'])
 
     for parameter in receiver.iterparameters():
         type = parameter.type