| Index: content/browser/renderer_host/render_widget_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
|
| index 516a4328085365029f4be7ac1423c2b70030c1ef..f73317789bcf4785ff7577524eefb5d45f4b235b 100644
|
| --- a/content/browser/renderer_host/render_widget_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc
|
| @@ -56,6 +56,8 @@ using WebKit::WebMouseEvent;
|
| using WebKit::WebMouseWheelEvent;
|
| using WebKit::WebTextDirection;
|
|
|
| +namespace {
|
| +
|
| // How long to (synchronously) wait for the renderer to respond with a
|
| // PaintRect message, when our backing-store is invalid, before giving up and
|
| // returning a null or incorrectly sized backing-store from GetBackingStore.
|
| @@ -65,8 +67,6 @@ static const int kPaintMsgTimeoutMS = 40;
|
| // How long to wait before we consider a renderer hung.
|
| static const int kHungRendererDelayMs = 20000;
|
|
|
| -namespace {
|
| -
|
| // Returns |true| if the two wheel events should be coalesced.
|
| bool ShouldCoalesceMouseWheelEvents(const WebMouseWheelEvent& last_event,
|
| const WebMouseWheelEvent& new_event) {
|
| @@ -80,6 +80,8 @@ bool ShouldCoalesceMouseWheelEvents(const WebMouseWheelEvent& last_event,
|
|
|
| } // namespace
|
|
|
| +namespace content {
|
| +
|
| // static
|
| RenderWidgetHost* RenderWidgetHost::FromIPCChannelListener(
|
| IPC::Channel::Listener* listener) {
|
| @@ -1645,3 +1647,5 @@ void RenderWidgetHostImpl::AcknowledgePostSubBuffer(int32 route_id,
|
| if (ui_shim)
|
| ui_shim->Send(new AcceleratedSurfaceMsg_PostSubBufferACK(route_id));
|
| }
|
| +
|
| +} // namespace content
|
|
|