X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fui%2Fcocoa%2Fautofill%2Fgenerated_credit_card_bubble_cocoa.mm;h=3176b3b7e589fe7c0727f869039d3160469ac503;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=4ce551405e91ef2c7ab8f1376814c38713ca3999;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.mm b/src/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.mm index 4ce5514..3176b3b 100644 --- a/src/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.mm +++ b/src/chrome/browser/ui/cocoa/autofill/generated_credit_card_bubble_cocoa.mm @@ -15,7 +15,6 @@ #import "chrome/browser/ui/cocoa/info_bubble_window.h" #include "chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h" #import "chrome/browser/ui/cocoa/toolbar/toolbar_controller.h" -#include "content/public/browser/web_contents_view.h" #include "skia/ext/skia_utils_mac.h" #include "ui/base/cocoa/window_size_constants.h" #include "ui/native_theme/native_theme.h" @@ -195,7 +194,7 @@ GeneratedCreditCardBubbleCocoa::~GeneratedCreditCardBubbleCocoa() {} void GeneratedCreditCardBubbleCocoa::Show() { DCHECK(controller_.get()); NSView* browser_view = - controller_->web_contents()->GetView()->GetNativeView(); + controller_->web_contents()->GetNativeView(); NSWindow* parent_window = [browser_view window]; LocationBarViewMac* location_bar = [[parent_window windowController] locationBarBridge];