Index: chrome/browser/tab_contents/tab_contents.cc |
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc |
index 7769d34661382507d1813da9d0f4815bd9416f56..ffa67b381aa9849bfe69d71764bb15dbec0d7a94 100644 |
--- a/chrome/browser/tab_contents/tab_contents.cc |
+++ b/chrome/browser/tab_contents/tab_contents.cc |
@@ -799,11 +799,11 @@ void TabContents::DidBecomeSelected() { |
last_selected_time_ = base::TimeTicks::Now(); |
} |
-void TabContents::FadeForInstant() { |
+void TabContents::FadeForInstant(bool animate) { |
RenderWidgetHostView* rwhv = GetRenderWidgetHostView(); |
SkColor whitish = SkColorSetARGB(192, 255, 255, 255); |
if (rwhv) |
- rwhv->SetVisuallyDeemphasized(&whitish, true); |
+ rwhv->SetVisuallyDeemphasized(&whitish, animate); |
} |
void TabContents::CancelInstantFade() { |