Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: content/browser/web_contents/aura/overscroll_navigation_overlay.cc

Issue 417343003: Don't capture screenshots for in-page navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitepace Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/aura/overscroll_navigation_overlay.cc
diff --git a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
index d2b8b6e7726e0b5524cbf42248ed8966eddf7b62..b478c60d070b0af782c2b19830763987f8afd032 100644
--- a/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
+++ b/content/browser/web_contents/aura/overscroll_navigation_overlay.cc
@@ -39,7 +39,7 @@ class ImageLayerDelegate : public ui::LayerDelegate {
// Overridden from ui::LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE {
if (image_.IsEmpty()) {
- canvas->DrawColor(SK_ColorGRAY);
+ canvas->DrawColor(SK_ColorWHITE);
} else {
SkISize size = canvas->sk_canvas()->getDeviceSize();
if (size.width() != image_size_.width() ||

Powered by Google App Engine
This is Rietveld 408576698