| Index: chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
| diff --git a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
| index 11e4529426f6770cc3089f3009a2799af4818ba8..0641df9385886e2faf6f76be0b89cebae73eb69b 100644
|
| --- a/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
| +++ b/chrome/browser/ui/views/bookmarks/bookmark_bubble_view.cc
|
| @@ -12,7 +12,6 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| #include "chrome/browser/bookmarks/bookmark_model_factory.h"
|
| -#include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/bookmarks/bookmark_bubble_observer.h"
|
| #include "chrome/browser/ui/bookmarks/bookmark_editor.h"
|
| @@ -29,6 +28,7 @@
|
| #include "ui/accessibility/ax_node_data.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/events/keycodes/keyboard_codes.h"
|
| +#include "ui/gfx/view_util.h"
|
| #include "ui/views/bubble/bubble_frame_view.h"
|
| #include "ui/views/controls/button/md_text_button.h"
|
| #include "ui/views/controls/combobox/combobox.h"
|
| @@ -322,9 +322,9 @@ void BookmarkBubbleView::ShowEditor() {
|
| const BookmarkNode* node =
|
| BookmarkModelFactory::GetForBrowserContext(profile_)
|
| ->GetMostRecentlyAddedUserNodeForURL(url_);
|
| - gfx::NativeWindow native_parent =
|
| - anchor_widget() ? anchor_widget()->GetNativeWindow()
|
| - : platform_util::GetTopLevel(parent_window());
|
| + gfx::NativeWindow native_parent = anchor_widget()
|
| + ? anchor_widget()->GetNativeWindow()
|
| + : gfx::GetTopLevel(parent_window());
|
| DCHECK(native_parent);
|
|
|
| Profile* profile = profile_;
|
|
|