Fix compilation error on Windows.

This commit is contained in:
Cheng Zhao 2014-04-29 11:39:31 +08:00
parent 4addd8d227
commit dc9778f0f2
2 changed files with 3 additions and 2 deletions

View file

@ -198,7 +198,7 @@ void WebContents::OnRendererMessageSync(const string16& channel,
// static
mate::Handle<WebContents> WebContents::Create(
v8::Isolate* isolate, content::WebContents* web_contents) {
return CreateHandle(isolate, new WebContents(web_contents));
return mate::CreateHandle(isolate, new WebContents(web_contents));
}
} // namespace api