Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / views / location_bar / page_action_image_view.cc
index 843c503..433cd43 100644 (file)
@@ -41,11 +41,7 @@ PageActionImageView::PageActionImageView(LocationBarView* owner,
       browser_(browser),
       current_tab_id_(-1),
       preview_enabled_(false),
-      popup_(NULL),
-      scoped_icon_animation_observer_(
-          page_action->GetIconAnimation(
-              SessionID::IdForTab(owner->GetWebContents())),
-          this) {
+      popup_(NULL) {
   const Extension* extension = owner_->profile()->GetExtensionService()->
       GetExtensionById(page_action->extension_id(), false);
   DCHECK(extension);
@@ -227,10 +223,6 @@ void PageActionImageView::OnIconUpdated() {
     UpdateVisibility(web_contents, current_url_);
 }
 
-void PageActionImageView::OnIconChanged() {
-  OnIconUpdated();
-}
-
 void PageActionImageView::PaintChildren(gfx::Canvas* canvas) {
   View::PaintChildren(canvas);
   if (current_tab_id_ >= 0)