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

Unified Diff: content/renderer/render_frame_impl.h

Issue 2862753002: Mark Render{Frame,View}::GetWebkitPreferences() return values as const. (Closed)
Patch Set: Created 3 years, 8 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 | « content/public/renderer/render_view.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index 1fdeefe8b219d6f7c70b82c170e2078dfea06117..8568b97df1dfc5d3ae3edeade50bf99fe43c6987 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -433,7 +433,7 @@ class CONTENT_EXPORT RenderFrameImpl
RenderAccessibility* GetRenderAccessibility() override;
int GetRoutingID() override;
blink::WebLocalFrame* GetWebFrame() override;
- WebPreferences& GetWebkitPreferences() override;
+ const WebPreferences& GetWebkitPreferences() override;
int ShowContextMenu(ContextMenuClient* client,
const ContextMenuParams& params) override;
void CancelContextMenu(int request_id) override;
@@ -1456,7 +1456,7 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebFormElement form;
blink::WebSourceLocation source_location;
- PendingNavigationInfo(const NavigationPolicyInfo& info);
+ explicit PendingNavigationInfo(const NavigationPolicyInfo& info);
};
// PlzNavigate: Contains information about a pending navigation to be sent to
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698