Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / notifications / notification_test_util.cc
index 83c3922..1d2b360 100644 (file)
@@ -11,7 +11,7 @@ MockNotificationDelegate::~MockNotificationDelegate() {}
 
 std::string MockNotificationDelegate::id() const { return id_; }
 
-content::RenderViewHost* MockNotificationDelegate::GetRenderViewHost() const {
+content::WebContents* MockNotificationDelegate::GetWebContents() const {
   return NULL;
 }
 
@@ -20,6 +20,9 @@ StubNotificationUIManager::StubNotificationUIManager(const GURL& welcome_origin)
                     GURL(),
                     base::string16(),
                     base::string16(),
+                    blink::WebTextDirectionDefault,
+                    base::string16(),
+                    base::string16(),
                     new MockNotificationDelegate("stub")),
       welcome_origin_(welcome_origin),
       welcomed_(false),