Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / page / EventSource.cpp
index a647178..a6902c8 100644 (file)
@@ -220,8 +220,9 @@ ExecutionContext* EventSource::executionContext() const
     return ActiveDOMObject::executionContext();
 }
 
-void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& response)
+void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& response, PassOwnPtr<WebDataConsumerHandle> handle)
 {
+    ASSERT_UNUSED(handle, !handle);
     ASSERT(m_state == CONNECTING);
     ASSERT(m_requestInFlight);
 
@@ -262,7 +263,7 @@ void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& resp
     }
 }
 
-void EventSource::didReceiveData(const char* data, int length)
+void EventSource::didReceiveData(const char* data, unsigned length)
 {
     ASSERT(m_state == OPEN);
     ASSERT(m_requestInFlight);