diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 19:22:26 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-12 19:22:26 +0000 |
commit | d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2 (patch) | |
tree | f662039f70110c555ec6fb096b389b73af31af2d /chrome/browser/cocoa | |
parent | 7587ee0fa4399ed0485559559b0ee9228daf0337 (diff) | |
download | chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.zip chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.tar.gz chromium_src-d6d6d586d2a91d13d06a8bce53a2d03f2458f9c2.tar.bz2 |
Converts some uses of native_view to native_window. This is necessitated
by wanting to parent bookmarkeditor to browserwindow, which returns a
native_window.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/270067
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28728 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/bookmark_editor_controller.mm | 5 |
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 |