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

Unified Diff: content/browser/android/content_view_core_impl.cc

Issue 1370603002: Make some global pointers const void* const. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 3 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
« no previous file with comments | « components/navigation_interception/intercept_navigation_delegate.cc ('k') | tools/gn/loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_core_impl.cc
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
index 465c5dee253ea8e1555c6b380b8d0b0a7506157c..66d97f4e44b9371dd4562a280dade40d44c85299 100644
--- a/content/browser/android/content_view_core_impl.cc
+++ b/content/browser/android/content_view_core_impl.cc
@@ -85,7 +85,7 @@ enum PopupItemType {
POPUP_ITEM_TYPE_ENABLED,
};
-const void* kContentViewUserDataKey = &kContentViewUserDataKey;
+const void* const kContentViewUserDataKey = &kContentViewUserDataKey;
int GetRenderProcessIdFromRenderViewHost(RenderViewHost* host) {
DCHECK(host);
@@ -93,8 +93,7 @@ int GetRenderProcessIdFromRenderViewHost(RenderViewHost* host) {
DCHECK(render_process);
if (render_process->HasConnection())
return render_process->GetHandle();
- else
- return 0;
+ return 0;
}
ScopedJavaLocalRef<jobject> CreateJavaRect(
« no previous file with comments | « components/navigation_interception/intercept_navigation_delegate.cc ('k') | tools/gn/loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698