projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
ui
/
cocoa
/
omnibox
/
omnibox_popup_view_mac.mm
diff --git
a/src/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
b/src/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
index
af81738
..
87ed959
100644
(file)
--- a/
src/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
+++ b/
src/chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.mm
@@
-25,8
+25,8
@@
#include "ui/base/cocoa/window_size_constants.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/rect.h"
#include "ui/base/cocoa/window_size_constants.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/rect.h"
-#include "ui/gfx/text_elider.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
#include "ui/gfx/scoped_ns_graphics_context_save_gstate_mac.h"
+#include "ui/gfx/text_elider.h"
namespace {
namespace {
@@
-498,5
+498,6
@@
void OmniboxPopupViewMac::OpenURLForRow(size_t row,
size_t start_match = model_->result().ShouldHideTopMatch() ? 1 : 0;
row += start_match;
DCHECK_LT(row, GetResult().size());
size_t start_match = model_->result().ShouldHideTopMatch() ? 1 : 0;
row += start_match;
DCHECK_LT(row, GetResult().size());
- omnibox_view_->OpenMatch(GetResult().match_at(row), disposition, GURL(), row);
+ omnibox_view_->OpenMatch(GetResult().match_at(row), disposition, GURL(),
+ base::string16(), row);
}
}