diff options
Diffstat (limited to 'chrome/browser/gtk/tabs/tab_renderer_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/tabs/tab_renderer_gtk.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/gtk/tabs/tab_renderer_gtk.cc b/chrome/browser/gtk/tabs/tab_renderer_gtk.cc index c8a0e6b..aeca6ae 100644 --- a/chrome/browser/gtk/tabs/tab_renderer_gtk.cc +++ b/chrome/browser/gtk/tabs/tab_renderer_gtk.cc @@ -177,7 +177,7 @@ bool TabRendererGtk::LoadingAnimation::ValidateLoadingAnimation( } if (animation_state_ != ANIMATION_NONE) { - animation_frame_ = ++animation_frame_ % + animation_frame_ = (animation_frame_ + 1) % ((animation_state_ == ANIMATION_WAITING) ? data_->waiting_animation_frame_count : data_->loading_animation_frame_count); @@ -246,7 +246,7 @@ TabRendererGtk::TabRendererGtk(ThemeProvider* theme_provider) loading_animation_(theme_provider), background_offset_x_(0), background_offset_y_(kInactiveTabBackgroundOffsetY), - close_button_color_(NULL) { + close_button_color_(0) { InitResources(); tab_.Own(gtk_fixed_new()); |