fix styling and add spec

This commit is contained in:
Shelley Vohr 2018-02-28 00:22:42 -08:00
parent 2abc69780e
commit bf491de9fe
No known key found for this signature in database
GPG key ID: F13993A75599653C
3 changed files with 8 additions and 3 deletions

View file

@ -1083,10 +1083,10 @@ void BrowserWindow::ToggleTabBar() {
}
void BrowserWindow::AddTabbedWindow(NativeWindow* window,
mate::Arguments* args) {
mate::Arguments* args) {
const bool windowAdded = window_->AddTabbedWindow(window);
if (!windowAdded)
args->ThrowError("AddTabbedWindow cannot be called by a window on itself");
args->ThrowError("AddTabbedWindow cannot be called by a window on itself.");
}
void BrowserWindow::SetVibrancy(mate::Arguments* args) {