summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/gtk/bookmark_manager_browsertest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_browsertest.cc b/chrome/browser/gtk/bookmark_manager_browsertest.cc
index 611bf27..485a661d 100644
--- a/chrome/browser/gtk/bookmark_manager_browsertest.cc
+++ b/chrome/browser/gtk/bookmark_manager_browsertest.cc
@@ -18,16 +18,16 @@ class BookmarkManagerTest : public InProcessBrowserTest,
void Init() {
model_ = browser()->profile()->GetBookmarkModel();
- BookmarkManagerGtk::Show(browser()->profile());
- manager_ = BookmarkManagerGtk::GetCurrentManager();
- ASSERT_TRUE(manager_);
-
if (!model_->IsLoaded()) {
model_->AddObserver(this);
ui_test_utils::RunMessageLoop();
model_->RemoveObserver(this);
}
ASSERT_TRUE(model_->IsLoaded());
+
+ BookmarkManagerGtk::Show(browser()->profile());
+ manager_ = BookmarkManagerGtk::GetCurrentManager();
+ ASSERT_TRUE(manager_);
}
void CleanUp() {