Initial patch.
[vuplus_webkit] / Source / WebCore / bindings / js / JSDedicatedWorkerContextCustom.cpp
index 2222353..ab0c5dd 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Copyright (C) 2009 Google Inc. All rights reserved.
  * Copyright (C) 2009 Apple, Inc. All rights reserved.
+ * Copyright (C) 2009, 2011 Google Inc. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are
@@ -47,6 +47,11 @@ JSC::JSValue JSDedicatedWorkerContext::postMessage(JSC::ExecState* exec)
     return handlePostMessage(exec, impl());
 }
 
+JSC::JSValue JSDedicatedWorkerContext::webkitPostMessage(JSC::ExecState* exec)
+{
+    return handlePostMessage(exec, impl());
+}
+
 } // namespace WebCore
 
 #endif // ENABLE(WORKERS)