diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index fd7f0ae70541..6cb9efb9614f 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -749,6 +749,7 @@ std::string WebContents::GetType() const { case BROWSER_WINDOW: return "window"; case WEB_VIEW: return "webview"; case REMOTE: return "remote"; + default: return ""; } }