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

Unified Diff: content/renderer/render_frame_impl.h

Issue 787333003: Clean up render_frame_impl.cc removing unnecessary static. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up RenderFrameImpl::InstallCreateHook() also Created 6 years 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 | « no previous file | 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 7be406d6a12a5ee369caef0f8b5a8cf2bbd12874..e7803bfdaa3835ec38186a9eece83b38332fe9c4 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -128,8 +128,10 @@ class CONTENT_EXPORT RenderFrameImpl
// Used by content_layouttest_support to hook into the creation of
// RenderFrameImpls.
+ using CreateRenderFrameImplFunction = RenderFrameImpl* (*)(RenderViewImpl*,
+ int32);
static void InstallCreateHook(
- RenderFrameImpl* (*create_render_frame_impl)(RenderViewImpl*, int32));
+ CreateRenderFrameImplFunction create_render_frame_impl);
virtual ~RenderFrameImpl();
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698