diff --git a/src/web-awesomium/web.cpp b/src/web-awesomium/web.cpp
index 26ba90abbada732ae4a08c7feb10332192eb5db3..65e8ece4e0ff89c5ae63ba0a6ea1abea188eac7c 100644
--- a/src/web-awesomium/web.cpp
+++ b/src/web-awesomium/web.cpp
@@ -259,7 +259,7 @@ public:
 
 class TE4DataSource : public DataSource {
 public:
-	virtual void OnRequest(int request_id, const WebString& wpath) {
+	virtual void OnRequest(int request_id, const ResourceRequest& request, const WebString& wpath) {
 		const char *path = webstring_to_buf(wpath, NULL);
 
 		WebEvent *event = new WebEvent();