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

Unified Diff: content/browser/web_contents/web_contents_screenshot_manager.cc

Issue 16335006: gesture nav: Disable for M28. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 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/web_contents_screenshot_manager.cc
diff --git a/content/browser/web_contents/web_contents_screenshot_manager.cc b/content/browser/web_contents/web_contents_screenshot_manager.cc
index 49cb0c6ba9104c7bf54f0cb9f4e423eb80812695..8174e3a78503a367366619190a17775d01318083 100644
--- a/content/browser/web_contents/web_contents_screenshot_manager.cc
+++ b/content/browser/web_contents/web_contents_screenshot_manager.cc
@@ -71,7 +71,7 @@ WebContentsScreenshotManager::~WebContentsScreenshotManager() {
void WebContentsScreenshotManager::TakeScreenshot() {
static bool overscroll_enabled = CommandLine::ForCurrentProcess()->
- GetSwitchValueASCII(switches::kOverscrollHistoryNavigation) != "0";
+ GetSwitchValueASCII(switches::kOverscrollHistoryNavigation) == "1";
if (!overscroll_enabled)
return;

Powered by Google App Engine
This is Rietveld 408576698