Change IPC plumbing to use parameters struct to allow additional arguments
To fix the underlying bug, that additional results from NSUserDefaults should be plumbed through over IPC, this first CL updates the IPC call in question to use a parameters struct, enabling more data than 5 arguments to be passed through.
BUG=392141
Review URL: https://codereview.chromium.org/1201273005
Cr-Commit-Position: refs/heads/master@{#336253}
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index 23a8041d..59d7c04 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -37,6 +37,7 @@
class SkBitmap;
struct FrameMsg_NewFrame_Params;
struct ViewMsg_New_Params;
+struct ViewMsg_UpdateScrollbarTheme_Params;
struct WorkerProcessMsg_CreateWorker_Params;
namespace blink {
@@ -455,11 +456,8 @@
void OnSetWebKitSharedTimersSuspended(bool suspend);
#endif
#if defined(OS_MACOSX)
- void OnUpdateScrollbarTheme(float initial_button_delay,
- float autoscroll_button_delay,
- bool jump_on_track_click,
- blink::ScrollerStyle preferred_scroller_style,
- bool redraw);
+ void OnUpdateScrollbarTheme(
+ const ViewMsg_UpdateScrollbarTheme_Params& params);
#endif
void OnCreateNewSharedWorker(
const WorkerProcessMsg_CreateWorker_Params& params);