summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/bookmark_editor_controller.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/bookmark_editor_controller.mm')
-rw-r--r--chrome/browser/cocoa/bookmark_editor_controller.mm5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/cocoa/bookmark_editor_controller.mm b/chrome/browser/cocoa/bookmark_editor_controller.mm
index bfa8156..dc65dfa 100644
--- a/chrome/browser/cocoa/bookmark_editor_controller.mm
+++ b/chrome/browser/cocoa/bookmark_editor_controller.mm
@@ -11,15 +11,14 @@
#import "chrome/browser/cocoa/bookmark_editor_controller.h"
// static; implemented for each platform.
-void BookmarkEditor::Show(gfx::NativeView parent_hwnd,
+void BookmarkEditor::Show(gfx::NativeWindow parent_hwnd,
Profile* profile,
const BookmarkNode* parent,
const BookmarkNode* node,
Configuration configuration,
Handler* handler) {
- NSWindow* window = [parent_hwnd window];
BookmarkEditorController* controller = [[BookmarkEditorController alloc]
- initWithParentWindow:window
+ initWithParentWindow:parent_hwnd
profile:profile
parent:parent
node:node