Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / omnibox / omnibox_view.cc
index ecd98b3..f41f4f5 100644 (file)
@@ -90,7 +90,7 @@ OmniboxView::~OmniboxView() {
 void OmniboxView::HandleOriginChipMouseRelease() {
   // HIDE_ON_MOUSE_RELEASE only hides if there isn't any current text in the
   // Omnibox (e.g. search terms).
-  if ((chrome::GetOriginChipV2HideTrigger() ==
+  if ((chrome::GetOriginChipV2Condition() ==
        chrome::ORIGIN_CHIP_V2_HIDE_ON_MOUSE_RELEASE) &&
       controller()->GetToolbarModel()->GetText().empty()) {
     controller()->HideOriginChip();