Init_EvasGL(width, height);
-#if defined(OS_TIZEN_MOBILE)
- disambiguation_popup_.reset(new DisambiguationPopupEfl(
- content_image_elm_host_, this));
-#endif
}
RenderWidgetHostViewEfl::~RenderWidgetHostViewEfl() {
}
void RenderWidgetHostViewEfl::ShowDisambiguationPopup(const gfx::Rect& rect_pixels, const SkBitmap& zoomed_bitmap) {
- if (disambiguation_popup_)
- disambiguation_popup_->Show(rect_pixels, zoomed_bitmap);
+ if (!disambiguation_popup_)
+ disambiguation_popup_.reset(new DisambiguationPopupEfl(content_image_, this));
+
+ disambiguation_popup_->Show(rect_pixels, zoomed_bitmap);
}
bool RenderWidgetHostViewEfl::CanDispatchToConsumer(ui::GestureConsumer* consumer) {