commit | 3b6a2f11c70c112a2c15ddb996df78d665486ae1 | [log] [tgz] |
---|---|---|
author | thestig <thestig@chromium.org> | Fri Sep 25 08:17:20 2015 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 25 08:18:01 2015 |
tree | 77ad9702f312c9d7d2ba809e56288581403f33a8 | |
parent | 3f0c5811aa9d9c5116e054c9d919bd5e4897ea7f [diff] [blame] |
Make some global pointers const void* const. Otherwise the thing the pointers point to can change. Review URL: https://codereview.chromium.org/1370603002 Cr-Commit-Position: refs/heads/master@{#350785}
diff --git a/components/navigation_interception/intercept_navigation_delegate.cc b/components/navigation_interception/intercept_navigation_delegate.cc index ba9053d6..f5816bf 100644 --- a/components/navigation_interception/intercept_navigation_delegate.cc +++ b/components/navigation_interception/intercept_navigation_delegate.cc
@@ -31,7 +31,7 @@ const int kMaxValidityOfUserGestureCarryoverInSeconds = 10; -const void* kInterceptNavigationDelegateUserDataKey = +const void* const kInterceptNavigationDelegateUserDataKey = &kInterceptNavigationDelegateUserDataKey; bool CheckIfShouldIgnoreNavigationOnUIThread(WebContents* source,